globus_xio...iver_types(3)
π NAME π
globus_xio_file_driver_types β bestie, it's the Types page for the globus_xio file driver π
- Types.
(yes that's literally all the NAME section says, and we respect it β¨)
β¨ SYNOPSIS β¨
π Macros
#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 }
πΈ DETAILED DESCRIPTION πΈ
Types.
That's it. That's the whole vibe. This page is the home of the type definitions β the flags, the modes, the seek-where-from values, and one very special invalid handle. π«Ά
π MACRO DEFINITION 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, bestie β that's how you build your combo β¨
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
- See also:
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 writing, 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 + offset π
π AUTHOR π
Generated automatically by Doxygen for globus_xio from the source code. π€β¨ (not me writing poetry, a robot writing docs, and honestly? slay.)
and that's the whole page bestie, no cap π
This was globus_xio Version 6.6, from the globus_xio...iver_types(3) page in the Library Functions Manual β stay iconic, go read your headers, mwah π
ππ¦
π¦ where this page comes from
- epel 10: globus-xio-doc 6.6-4.el10_0 Β· Apache-2.0
- fedora 43: globus-xio-doc 6.6-9.fc43 Β· Apache-2.0
- fedora 44: globus-xio-doc 6.6-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-xio-doc 6.6-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-xio-doc 6.6-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms