Annotated edit history of
opendir(3) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
OPENDIR |
|
|
2 |
!!!OPENDIR |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
RETURN VALUE |
|
|
7 |
ERRORS |
|
|
8 |
CONFORMING TO |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
opendir - open a directory |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__#include |
|
|
19 |
__''name''__); |
|
|
20 |
__ |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
The __opendir()__ function opens a directory stream |
|
|
25 |
corresponding to the directory ''name'', and returns a |
|
|
26 |
pointer to the directory stream. The stream is positioned at |
|
|
27 |
the first entry in the directory. |
|
|
28 |
!!RETURN VALUE |
|
|
29 |
|
|
|
30 |
|
|
|
31 |
The __opendir()__ function returns a pointer to the |
|
|
32 |
directory stream or NULL if an error occurred. |
|
|
33 |
!!ERRORS |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
__EACCES__ |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
Permission denied. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
__EMFILE__ |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
Too many file descriptors in use by process. |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
__ENFILE__ |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
Too many files are currently open in the |
|
|
52 |
system. |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
__ENOENT__ |
|
|
56 |
|
|
|
57 |
|
|
|
58 |
Directory does not exist, or ''name'' is an empty |
|
|
59 |
string. |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
__ENOMEM__ |
|
|
63 |
|
|
|
64 |
|
|
|
65 |
Insufficient memory to complete the operation. |
|
|
66 |
|
|
|
67 |
|
|
|
68 |
__ENOTDIR__ |
|
|
69 |
|
|
|
70 |
|
|
|
71 |
''name'' is not a directory. |
|
|
72 |
!!CONFORMING TO |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
SVID 3, POSIX, BSD 4.3 |
|
|
76 |
!!SEE ALSO |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
open(2), readdir(3), closedir(3), |
|
|
80 |
rewinddir(3), seekdir(3), telldir(3), |
|
|
81 |
scandir(3) |
|
|
82 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.