File: errno.3

package info (click to toggle)
manpages-ja 0.4.0.0.20020315-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 14,808 kB
  • ctags: 4
  • sloc: sh: 9,595; perl: 157; makefile: 62
file content (209 lines) | stat: -rw-r--r-- 4,703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
.\" Copyright (c) 1996 Andries Brouwer (aeb@cwi.nl)
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
.\"     all rights reserved.
.\" Translated Wed Dec 24 11:58:12 JST 1997
.\"     by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
.\" Updated & Modified Mon Mar 1 1999
.\"       by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\" Updated & Modified Sat Aug 21 1999
.\"       by NAKANO Takeo <nakano@apm.seikei.ac.jp>
.\"
.TH ERRNO 3 "30 March 1998" "" "Library functions"
.SH ̾
errno \- Ǹȯ顼ֹ
.SH 
#include <errno.h>
.sp
extern int errno;
.SH 
int ѿ
.B errno
ˤϡƥॳ(ڤӤĤΥ饤֥ؿ)ˤä
顼θåȤ롣
ͤϥ뤬顼(̾ \-1)֤ˤΤ̣߰Ĥ
饤֥ؿ
.B errno
ѹ뤳ȤƤ롣

ˤ \-1 ֤ͤǤ뤳Ȥ⤢뤬
Τ褦ʤȤ˥顼򸡽ФˤϡƤӽФ
.B errno
 0 ˤƤɬפ롣

ISO C standard Ǥϡ \fBerrno\fR ѹǽʺͤ \fBint\fR 
ȤƤꡢŪԤʤƤɤȤˤʤäƤ롣
ޤ \fBerrno\fR ϥޥǤ褤 \fBerrno\fR ϥåɤȤ
Ǥ롣Ĥޤꤢ륹åɤ \fBerrno\fR ꤵƤ⡢
¾ΥåɤǤ \fBerrno\fR ˤϱƶʤ

顼ֹϤ٤ƥʳͤǤ롣 \fBerrno\fR 
ɤʥ饤֥ؿˤäƤ 0 ˤꤵʤ
POSIX.1 Ƥ뤹٤ƤΥ顼̾ϡ٤̡
ֹʤФʤʤ

POSIX.1 (1996 ǯ) ǤϰʲΥ顼̾ܥ뤬ꥹȤƤ롣
Τ \fBEDOM\fR  \fBERANGE\fR  ISO C standard ˤ롣
ISO C Amendment 1 Ǥϡ˲ä \fBEILSEQ\fR Ƥꡢ
ޥХʸ磻ʸǤΥǥ󥰥顼Ѥ뤳Ȥ
ʤäƤ롣

.TP
.B E2BIG
ꥹȤĹ
.TP
.B EACCES
¤ʤ
.TP
.B EAGAIN
꥽ŪԲ
.TP
.B EBADF
եǥץ
.TP
.B EBADMSG
å
.TP
.B EBUSY
.TP
.B ECANCELED
󥻥뤵줿
.TP
.B ECHILD
ҥץ̵
.TP
.B EDEADLK
꥽ǥåɥåˤݤ줿
.TP
.B EDOM
ɥᥤ󥨥顼
.TP
.B EEXIST
ե뤬¸ߤ
.TP
.B EFAULT
ɥ쥹
.TP
.B EFBIG
ե뤬礭
.TP
.B EINPROGRESS
ϼ¹
.TP
.B EINTR
ؿƤӽФޤ줿
.TP
.B EINVAL
̵
.TP
.B EIO
ϥ顼
.TP
.B EISDIR
ǥ쥯ȥǤ
.TP
.B EMFILE
ץ󤵤Ƥե뤬¿
.TP
.B EMLINK
󥯤¿
.TP
.B EMSGSIZE
åХåեĹŬڤǤʤ
.TP
.B ENAMETOOLONG
ե̾Ĺ
.TP
.B ENFILE
ƥΤǥץ󤵤Ƥե뤬¿
.TP
.B ENODEV
Τ褦ʥǥХ̵
.TP
.B ENOENT
Τ褦ʥեǥ쥯ȥ̵
.TP
.B ENOEXEC
Exec Υ顼
.TP
.B ENOLCK
ѤǤå̵
.TP
.B ENOMEM
ʬʶΰ褬̵
.TP
.B ENOSPC
ǥХ˶ΰ褬̵
.TP
.B ENOSYS
ؿƤʤ
.TP
.B ENOTDIR
ǥ쥯ȥǤϤʤ
.TP
.B ENOTEMPTY
ǥ쥯ȥ꤬ǤϤʤ
.TP
.B ENOTSUP
ݡȤƤʤ
.TP
.B ENOTTY
I/O ŬڤǤʤ
.TP
.B ENXIO
Τ褦ʥǥХޤϥɥ쥹̵
.TP
.B EPERM
ϵƤʤ
.TP
.B EPIPE
ѥפ˲줿
.TP
.B ERANGE
̤礭
.TP
.B EROFS
ե륷ƥब꡼ɥ꡼
.TP
.B ESPIPE
̵ʥ
.TP
.B ESRCH
Τ褦ʥץ̵
.TP
.B ETIMEDOUT
ϥॢȤ
.TP
.B EXDEV
Ŭڤʥ
.LP
Ƽ Unix μǤϡ¾ˤ¿Υ顼ֹ椬֤뤳Ȥ롣
System V Ǥϡ񤭹Ѥ˥ץ󤵤Ƥե
exec() 褦Ȥ ETXTBSY (ƥȥե뤬) ֤롣
Linux Ǥ⡢եФ VM_DENYWRITE ꤷޥåפ
񤭹ѤΥץȤƱ˹ԤȤȤΥ顼֤롣

.SH Ϣ
.BR perror (3),
.BR strerror (3)