.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "GFS_CLOSEDIR" "3" "29 October 2003" "Gfarm" ""
.SH NAME
gfs_closedir \- close a directory
.SH SYNOPSIS
.sp
\fB#include
.sp
char * gfs_closedir (GFS_Dir \fIdir\fB);
\fR
.SH "DESCRIPTION"
.PP
The \fBgfs_closedir()\fR function closes the directory stream
associated with \fIdir\fR. The directory stream descriptor \fIdir\fR
is not available after this call.
.SH "RETURN VALUES"
.TP
\fBNULL\fR
The function terminated successfully.
.TP
\fBOthers\fR
An error except the above occurred. The reason is shown by its
pointed strings.
.SH "SEE ALSO"
.PP
\fBgfs_opendir\fR(3),
\fBgfs_readdir\fR(3)