Content-type: text/html
Manpage of plfs_close
plfs_close
Section: C Library Functions (3)
Updated: 12/3/2010
Index
Return to Main Contents
NAME
plfs_close
SYNTAX
#include <plfs.h>
int plfs_close( Plfs_fd *pfd, pid_t p, int open_flags ,Plfs_close_opt *close_opt);
DESCRIPTION
Close a file descriptor. See close(2) for more information. If multiple
threads are sharing a file descriptor, the caller must ensure that all
calls to plfs_close on a shared descriptor are serialized.
INPUT PARAMETERS
- Plfs_fd
-
the file handle returned from plfs_open
- pid_t
-
the pid_t was passed to the plfs_open
- uid_t
-
the uid of the caller (used for statistics collection only)
- open_flags
-
the open flags that were passed to the plfs_open
- Plfs_close_opt
-
optional arguments to control low-level functionality
RETURN VALUES
Most PLFS functions return 0 or -errno, except write and read
which return the number of bytes or -errno
AUTHORS
PLFS is developed at Los Alamos National Laboratory and is available under LANL LA-CC-08-104. It is hosted at
http://sourceforge.net/projects/plfs
and more information is available at
http://institute.lanl.gov/plfs
SEE ALSO
plfs(3), plfs(7), is_plfs_file(3), plfs_access(3), plfs_buildtime(3), plfs_chmod(3), plfs_chown(3), plfs_close(3), plfs_create(3), plfs_debug(3), plfs_dump_config(3), plfs_dump_index(3), plfs_flatten_index(3), plfs_get_attr(3), plfs_index_stream(3), plfs_link(3), plfs_merge_indexes(3), plfs_mkdir(3), plfs_mode(3), plfs_open(3), plfs_query(3), plfs_read(3), plfs_readdir(3), plfs_readlink(3), plfs_rename(3), plfs_rmdir(3), plfs_serious_error(3), plfs_set_mpi(3), plfs_stats(3), plfs_statvfs(3), plfs_symlink(3), plfs_sync(3), plfs_trunc(3), plfs_unlink(3), plfs_utime(3), plfs_version(3), plfs_write(3), plfs_wtime(3)
Index
- NAME
-
- SYNTAX
-
- DESCRIPTION
-
- INPUT PARAMETERS
-
- RETURN VALUES
-
- AUTHORS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 14:33:59 GMT, June 15, 2012