Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

file_driver_types(3) [debian man page]

Types(3)							    globus xio								  Types(3)

NAME
Types - Defines #define GLOBUS_XIO_FILE_INVALID_HANDLE Enumerations enum globus_xio_file_flag_t { GLOBUS_XIO_FILE_CREAT = O_CREAT, GLOBUS_XIO_FILE_EXCL = O_EXCL, GLOBUS_XIO_FILE_RDONLY = O_RDONLY, GLOBUS_XIO_FILE_WRONLY = O_WRONLY, GLOBUS_XIO_FILE_RDWR = O_RDWR, GLOBUS_XIO_FILE_TRUNC = O_TRUNC, GLOBUS_XIO_FILE_APPEND = O_APPEND, GLOBUS_XIO_FILE_BINARY = 0, GLOBUS_XIO_FILE_TEXT = 0 } enum globus_xio_file_mode_t { GLOBUS_XIO_FILE_IRWXU = S_IRWXU, GLOBUS_XIO_FILE_IRUSR = S_IRUSR, GLOBUS_XIO_FILE_IWUSR = S_IWUSR, GLOBUS_XIO_FILE_IXUSR = S_IXUSR, GLOBUS_XIO_FILE_IRWXO = S_IRWXO, GLOBUS_XIO_FILE_IROTH = S_IROTH, GLOBUS_XIO_FILE_IWOTH = S_IWOTH, GLOBUS_XIO_FILE_IXOTH = S_IXOTH, GLOBUS_XIO_FILE_IRWXG = S_IRWXG, GLOBUS_XIO_FILE_IRGRP = S_IRGRP, GLOBUS_XIO_FILE_IWGRP = S_IWGRP, GLOBUS_XIO_FILE_IXGRP = S_IXGRP } enum globus_xio_file_whence_t { GLOBUS_XIO_FILE_SEEK_SET = SEEK_SET, GLOBUS_XIO_FILE_SEEK_CUR = SEEK_CUR, GLOBUS_XIO_FILE_SEEK_END = SEEK_END } Define Documentation #define GLOBUS_XIO_FILE_INVALID_HANDLE Invalid handle type. See also: GLOBUS_XIO_FILE_SET_HANDLE Enumeration Type Documentation enum globus_xio_file_flag_t File driver open flags OR together all the flags you want. See also: GLOBUS_XIO_FILE_SET_FLAGS Enumerator: GLOBUS_XIO_FILE_CREAT Create a new file if it doesn't exist (default) GLOBUS_XIO_FILE_EXCL Fail if file already exists. GLOBUS_XIO_FILE_RDONLY Open for read only. GLOBUS_XIO_FILE_WRONLY Open for write only. GLOBUS_XIO_FILE_RDWR Open for reading and writing (default) GLOBUS_XIO_FILE_TRUNC Truncate file. See also: GLOBUS_XIO_FILE_SET_TRUNC_OFFSET GLOBUS_XIO_FILE_APPEND Open file for appending. GLOBUS_XIO_FILE_BINARY File is binary (default) GLOBUS_XIO_FILE_TEXT File is text. enum globus_xio_file_mode_t File driver create mode OR these modes together to get the mode you want. See also: GLOBUS_XIO_FILE_SET_MODE NOTE: for Win32, you only have a choice between read-only and read-write. If the chosen mode does not specify writability, the file will be read only Enumerator: GLOBUS_XIO_FILE_IRWXU User read, write, and execute. GLOBUS_XIO_FILE_IRUSR User read. GLOBUS_XIO_FILE_IWUSR User write. GLOBUS_XIO_FILE_IXUSR User execute. GLOBUS_XIO_FILE_IRWXO Others read, write, and execute. GLOBUS_XIO_FILE_IROTH Others read. GLOBUS_XIO_FILE_IWOTH Others write. GLOBUS_XIO_FILE_IXOTH Others execute. GLOBUS_XIO_FILE_IRWXG Group read, write, and execute. GLOBUS_XIO_FILE_IRGRP Group read. GLOBUS_XIO_FILE_IWGRP Group write. GLOBUS_XIO_FILE_IXGRP Group execute. enum globus_xio_file_whence_t File driver seek options. See also: GLOBUS_XIO_FILE_SEEK Enumerator: GLOBUS_XIO_FILE_SEEK_SET set the file pointer at the specified offset GLOBUS_XIO_FILE_SEEK_CUR set the file pointer at current position + offset GLOBUS_XIO_FILE_SEEK_END set the file pointer at size of file + offest Author Generated automatically by Doxygen for globus xio from the source code. Version 3.3 Mon Apr 30 2012 Types(3)

Check Out this Related Man Page

stat.h(3HEAD)							      Headers							     stat.h(3HEAD)

NAME
stat.h, stat - data returned by stat system call SYNOPSIS
#include <sys/types.h> #include <sys/stat.h> DESCRIPTION
The system calls stat, lstat and fstat return data in a stat structure, which is defined in <stat.h>. The constants used in the st_mode field are also defined in this file: #define S_IFMT /* type of file */ #define S_IAMB /* access mode bits */ #define S_IFIFO /* fifo */ #define S_IFCHR /* character special */ #define S_IFDIR /* directory */ #define S_IFNAM /* XENIX special named file */ #define S_INSEM /* XENIX semaphore subtype of IFNAM */ #define S_INSHD /* XENIX shared data subtype of IFNAM */ #define S_IFBLK /* block special */ #define S_IFREG /* regular */ #define S_IFLNK /* symbolic link */ #define S_IFSOCK /* socket */ #define S_IFDOOR /* door */ #define S_ISUID /* set user id on execution */ #define S_ISGID /* set group id on execution */ #define S_ISVTX /* save swapped text even after use */ #define S_IREAD /* read permission, owner */ #define S_IWRITE /* write permission, owner */ #define S_IEXEC /* execute/search permission, owner */ #define S_ENFMT /* record locking enforcement flag */ #define S_IRWXU /* read, write, execute: owner */ #define S_IRUSR /* read permission: owner */ #define S_IWUSR /* write permission: owner */ #define S_IXUSR /* execute permission: owner */ #define S_IRWXG /* read, write, execute: group */ #define S_IRGRP /* read permission: group */ #define S_IWGRP /* write permission: group */ #define S_IXGRP /* execute permission: group */ #define S_IRWXO /* read, write, execute: other */ #define S_IROTH /* read permission: other */ #define S_IWOTH /* write permission: other */ #define S_IXOTH /* execute permission: other */ The following macros are for POSIX conformance (see standards(5)): #define S_ISBLK(mode) block special file #define S_ISCHR(mode) character special file #define S_ISDIR(mode) directory file #define S_ISFIFO(mode) pipe or fifo file #define S_ISREG(mode) regular file #define S_ISSOCK(mode) socket file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ SEE ALSO
stat(2), types.h(3HEAD), attributes(5), standards(5) SunOS 5.10 30 Aug 2002 stat.h(3HEAD)
Man Page