The
.BR closedir ()
function closes the directory stream associated with
-\fIdirp\fP.
+.IR dirp .
A successful call to
.BR closedir ()
also closes the underlying file descriptor associated with
.IR dirp .
-The directory stream descriptor \fIdirp\fP is not available
+The directory stream descriptor
+.I dirp
+is not available
after this call.
.SH RETURN VALUE
The
.SH ERRORS
.TP
.B EBADF
-Invalid directory stream descriptor \fIdirp\fP.
+Invalid directory stream descriptor
+.IR dirp .
.SH CONFORMING TO
SVr4, POSIX.1-2001, 4.3BSD.
.SH SEE ALSO
.BR scandir (3),
.BR seekdir (3),
.BR telldir (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.