1: /*
   2:  *      Program Name:   errlst.h
   3:  *      Date: March 6, 1996
   4:  *      Author: S.M. Schultz
   5:  *
   6:  *      -----------------   Modification History   ---------------
   7:  *      Version Date            Reason For Modification
   8:  *      1.0     05Mar96         1. Initial release into the public domain.
   9: */
  10: 
  11: /*
  12:  * Definitions used by the 'mkerrlst' program which creates error message
  13:  * files.
  14:  *
  15:  * The format of the file created is:
  16:  *
  17:  *	struct	ERRLSTHDR	ehdr;
  18:  *	struct	ERRLST  emsg[num_of_msgs];
  19:  *	struct	{
  20:  *		char	msg[] = "error message string";
  21:  *		char	lf = '\n';
  22:  *		} [num_of_messages];
  23:  *
  24:  * Note:  the newlines are NOT included in the message lengths, the newlines
  25:  *        are present to make it easy to 'cat' or 'vi' the file.
  26: */
  27: 
  28:     struct  ERRLSTHDR
  29:         {
  30:         short   magic;
  31:         short   maxmsgnum;
  32:         short   maxmsglen;
  33:         short   pad[5];     /* Reserved */
  34:         };
  35: 
  36:     struct  ERRLST
  37:         {
  38:         off_t   offmsg;
  39:         short   lenmsg;
  40:         };
  41: 
  42: #define ERRMAGIC    012345
  43: #define _PATH_SYSERRLST "/etc/syserrlst"

Defined struct's

ERRLST defined in line 36; used 6 times
ERRLSTHDR defined in line 28; used 4 times

Defined macros

Usage of this include

Last modified: 1996-03-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2284
Valid CSS Valid XHTML 1.0 Strict