|
|
1.1 root 1:
2:
3: perror() General Function perror()
4:
5:
6:
7:
8: System call error messages
9:
10: #iinncclluuddee <eerrrrnnoo.hh>
11: ppeerrrroorr(_s_t_r_i_n_g)
12: 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[];
13:
14: perror prints an error message on the standard error device. The
15: message consists of the argument string, followed by a brief
16: description of the last system call that failed. The external
17: variable errno contains the last error number. Normally, string
18: is the perror of the command that failed or a file perror.
19:
20: The external array sys_errlist gives the list of messages used by
21: perror. The external sys_nerr gives the number of messages in
22: the list.
23:
24: ***** See Also *****
25:
26: errno, errno.h, general functions
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.