


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



NAME
     mkerrlst - create system error file

SYNOPSIS
     mkerrlst [ -i _i_n_p_u_t_f_i_l_e ] [ -o _o_u_t_p_u_t_f_i_l_e ]

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

     With no arguments mkerrlst creates the file /_e_t_c/_s_y_s_e_r_r_l_s_t
     from the internal array sys_errlist.

     Give just the -o option mkerrlst will create the file _o_u_t_-
     _p_u_t_f_i_l_e from the internal array sys_errlist.

     Given just the -i option mkerrlst will create the file
     /_e_t_c/_s_y_s_e_r_r_l_s_t from the input file _i_n_p_u_t_f_i_l_e.

     Given both -i and -o options mkerrlst will create the error
     message file _o_u_t_p_u_t_f_i_l_e from the strings contained in _i_n_p_u_t_-
     _f_i_l_e.

     NOTE: error messages are numbered from 0.	If the error 0
     does not have a message associated with it the first string
     in _i_n_p_u_t_f_i_l_e 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
     _s_t_d_e_r_r 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



