Table of Contents
gfs_close_file - close a file
#include <gfs.h>
int gfs_close_file(int file_id);
gfs_close_file closes the file associated with file_id .
Closing a file allows that file's space in the open file
table to be reused. It also allows the file system to
delete the file, if such a request has been issued.
gfs_close_file returns zero on success, or -1 if an error
occurred.
GFS_EINVAL
file_id isn't a legal file id. GFS_EBADF file_id isn't
a valid file id.
Table of Contents