home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
par150o2.zip
/
errmsg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-21
|
977b
|
39 lines
/*********************/
/* errmsg.h */
/* for Par 1.50 */
/* Copyright 1996 by */
/* Adam M. Costello */
/*********************/
/* This is ANSI C code. */
#ifndef ERRMSG_H
#define ERRMSG_H
#define errmsg_size 163
/* This is the maximum number of characters that will */
/* fit in an errmsg_t, including the terminating '\0'. */
/* It will never decrease, but may increase in future */
/* versions of this header file. */
typedef char errmsg_t[errmsg_size];
/* Any function which takes the argument errmsg_t errmsg must, before */
/* returning, either set errmsg[0] to '\0' (indicating success), or */
/* write an error message string into errmsg, (indicating failure), */
/* being careful not to overrun the space. */
extern const char * const outofmem;
/* "Out of memory.\n" */
extern const char * const impossibility;
/* "Impossibility #%d has occurred. Please report it.\n" */
#endif