|
|
1.1 root 1:
2:
3: errno Technical Information errno
4:
5:
6:
7:
8: External integer for return of error status
9:
10: extern int errno;
11:
12: errno is an external integer that COHERENT links into every
13: program. COHERENT sets errno to the negative value of any error
14: status returned by COHERENT to the functions that perform
15: COHERENT system calls.
16:
17: Mathematical functions use errno to indicate classifications of
18: errors on return. eerrrrnnoo is defined within the header file eerr-
19: rrnnoo.hh. Because not every function uses errno, it should be
20: polled only in connection with those functions that document its
21: use and the meaning of the various status values. For the names
22: of the error codes (as defined in eerrrrnnoo.hh, their value, and the
23: message returned by the function ppeerrrroorr, see errno.h.
24:
25: ***** Example *****
26:
27: For an example of using eerrrrnnoo in a mathematics program, see the
28: entry for aaccooss.
29:
30: ***** See Also *****
31:
32: errno.h, mathematics library, perror(), signal(), technical in-
33: formation
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.