Annotation of researchv10dc/man/adm/man3/perror.3, revision 1.1

1.1     ! root        1: .TH PERROR 3
        !             2: .CT 2 debug_tune proc_man
        !             3: .SH NAME
        !             4: perror, sys_errlist, sys_nerr \(mi system error messages
        !             5: .SH SYNOPSIS
        !             6: .nf
        !             7: .B perror(s)
        !             8: .B char *s;
        !             9: .PP
        !            10: .B int sys_nerr;
        !            11: .B char *sys_errlist[];
        !            12: .fi
        !            13: .SH DESCRIPTION
        !            14: .I Perror
        !            15: produces a short error message
        !            16: on the standard error file
        !            17: describing the last error encountered during a call
        !            18: to the system from a C program.
        !            19: First the argument string
        !            20: .I s
        !            21: is printed, then a colon, then the message and a new-line.
        !            22: The error number is taken from the external variable
        !            23: .I errno
        !            24: (see
        !            25: .IR intro (2)),
        !            26: which is changed only when errors occur.
        !            27: .PP
        !            28: .I Sys_errlist
        !            29: is a vector of message strings.
        !            30: .I Errno
        !            31: can be used as an index in this table to get the
        !            32: message string without the newline.
        !            33: .I Sys_nerr
        !            34: is the number of messages in the table.
        !            35: .SH "SEE ALSO"
        !            36: .IR intro (2)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.