Penguin
Annotated edit history of closedir(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 CLOSEDIR
2 !!!CLOSEDIR
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 ERRORS
8 CONFORMING TO
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 closedir - close a directory
15 !!SYNOPSIS
16
17
18 __#include
19 __''dir''__);
20 __
21 !!DESCRIPTION
22
23
24 The __closedir()__ function closes the directory stream
25 associated with ''dir''. The directory stream descriptor
26 ''dir'' is not available after this call.
27 !!RETURN VALUE
28
29
30 The __closedir()__ function returns 0 on success or -1 on
31 failure.
32 !!ERRORS
33
34
35 __EBADF__
36
37
38 Invalid directory stream descriptor ''dir''.
39 !!CONFORMING TO
40
41
42 SVID 3, POSIX, BSD 4.3
43 !!SEE ALSO
44
45
46 close(2), opendir(3), readdir(3),
47 rewinddir(3), seekdir(3), telldir(3),
48 scandir(3)
49 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.