MKERRLST(1)	    UNIX Programmer's Manual	      MKERRLST(1)


NAME
     mkerrlst - create system error file

SYNOPSIS
     mkerrlst [ -i inputfile ] [ -o outputfile ]

DESCRIPTION
     Mkerrlst(1) creates error message files in the format
     described by syserrlst(5).

     With no arguments mkerrlst creates the file /etc/syserrlst
     from the internal array sys_errlist.

     Give just the -o option mkerrlst will create the file out-
     putfile from the internal array sys_errlist.

     Given just the -i option mkerrlst will create the file
     /etc/syserrlst from the input file inputfile.

     Given both -i and -o options mkerrlst will create the error
     message file outputfile from the strings contained in input-
     file.

     NOTE: error messages are numbered from 0.	If the error 0
     does not have a message associated with it the first string
     in inputfile must still be present.

RETURN VALUE
     mkerrlst exits with status of 0 if no errors are encoun-
     tered.  If errors do occur an error message is printed on
     stderr and the exit status is 1.

ERRORS
     mkerrlst(1) can encounter any of the errors for the open(2),
     lseek(2), read(2), or write(2) system calls.

SEE ALSO
     syserrlst(3) syserrlst(5)

HISTORY
     mkerrlst(1), first appeared in 2.11BSD.

BUGS
     Error messages can be a maximum of 80 characters.


Printed 11/26/99	 March 14, 1996                         1


 
Generated: 2016-12-26
Generated by man2html V0.25
page hit count: 1631
Valid CSS Valid XHTML 1.0 Strict