File:  [MW Coherent from dump] / coherent / a / usr / man / MULTI / perror
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



perror()                 General Function                perror()




System call error messages

#iinncclluuddee <eerrrrnnoo.hh>
ppeerrrroorr(_s_t_r_i_n_g)
cchhaarr *_s_t_r_i_n_g; eexxtteerrnn iinntt _s_y_s__n_e_r_r; eexxtteerrnn cchhaarr *_s_y_s__e_r_r_l_i_s_t[];

perror prints an error message on the standard error device.  The
message  consists of  the argument  string,  followed by  a brief
description of  the last system  call that failed.   The external
variable errno contains  the last error number.  Normally, string
is the perror of the command that failed or a file perror.

The external array sys_errlist gives the list of messages used by
perror.  The  external sys_nerr gives  the number of  messages in
the list.

***** See Also *****

errno, errno.h, general functions





































COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

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