.\" 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_PIO_CLOSE" "3" "27 June 2010" "Gfarm" ""
.SH NAME
gfs_pio_close \- close a file in the Gfarm file system
.SH SYNOPSIS
.sp
\fB#include
.sp
gfarm_error_t gfs_pio_close (GFS_File \fIgfp\fB);
\fR
.SH "DESCRIPTION"
.PP
\fBgfs_pio_close()\fR closes a file \fIgfp\fR, so that it no longer
refers to any file and may be reused.
.SH "RETURN VALUES"
.TP
\fBGFARM_ERR_NO_ERROR\fR
The function terminated successfully.
.TP
\fBGFARM_ERR_BAD_FILE_DESCRIPTOR\fR
The file descripter specified by \fIgfp\fR is
not a valid open file descriptor.
.TP
\fBGFARM_ERR_NO_MEMORY\fR
Insufficient memory was available.
.TP
\fBOthers\fR
An error except the above occurred. The reason is shown by
\fBgfarm_error_string\fR(3)\&.
.SH "SEE ALSO"
.PP
\fBgfs_pio_create\fR(3),
\fBgfs_pio_open\fR(3)