enum rpc_fcntl_flagsΒΆ

All known file control flags.

#include <te_rpc_fcntl.h>

enum rpc_fcntl_flags {
    RPC_O_RDONLY    = 0x00000001,
    RPC_O_WRONLY    = 0x00000002,
    RPC_O_RDWR      = 0x00000004,
    RPC_O_CREAT     = 0x00000008,
    RPC_O_EXCL      = 0x00000010,
    RPC_O_NOCTTY    = 0x00000020,
    RPC_O_TRUNC     = 0x00000040,
    RPC_O_APPEND    = 0x00000080,
    RPC_O_NONBLOCK  = 0x00000100,
    RPC_O_NDELAY    = 0x00000200,
    RPC_O_SYNC      = 0x00000400,
    RPC_O_FSYNC     = 0x00000800,
    RPC_O_ASYNC     = 0x00001000,
    RPC_O_DIRECT    = 0x00002000,
    RPC_O_DIRECTORY = 0x00004000,
    RPC_O_NOFOLLOW  = 0x00008000,
    RPC_O_DSYNC     = 0x00010000,
    RPC_O_RSYNC     = 0x00020000,
    RPC_O_LARGEFILE = 0x00040000,
    RPC_O_CLOEXEC   = 0x00080000,
};