globus_xio...iver_types(3)

πŸ“¦
version 6.6 Β· 5 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– 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
  • 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