|
Lines 122-130
Link Here
|
| 122 |
returns a pointer to the next directory entry. |
122 |
returns a pointer to the next directory entry. |
| 123 |
It returns |
123 |
It returns |
| 124 |
.Dv NULL |
124 |
.Dv NULL |
| 125 |
upon reaching the end of the directory or detecting an invalid |
125 |
upon reaching the end of the directory or on error. |
| 126 |
.Fn seekdir |
126 |
In the event of an error, |
| 127 |
operation. |
127 |
.Va errno |
|
|
128 |
may be set to any of the values documented for the |
| 129 |
.Xr getdirentries 2 |
| 130 |
system call. |
| 128 |
.Pp |
131 |
.Pp |
| 129 |
The |
132 |
The |
| 130 |
.Fn readdir_r |
133 |
.Fn readdir_r |