/* LP64 kernels don't have F_*64 defines because their flock is 64-bit. */
/** Flag for flock(). */ #define F_GETLK64 F_GETLK /** Flag for flock(). */ #define F_SETLK64 F_SETLK /** Flag for flock(). */ #define F_SETLKW64 F_SETLKW
#elifdefined(__USE_FILE_OFFSET64)
/* For _FILE_OFFSET_BITS=64, redirect the constants to the off64_t variants. */
#undef F_GETLK #undef F_SETLK #undef F_SETLKW
/** Flag for flock(). */ #define F_GETLK F_GETLK64 /** Flag for flock(). */ #define F_SETLK F_SETLK64 /** Flag for flock(). */ #define F_SETLKW F_SETLKW64
#endif
/** Flag for open(). */ #define O_ASYNC FASYNC /** Flag for open(). */ #define O_RSYNC O_SYNC
/** Flag for splice(). */ #define SPLICE_F_MOVE 1 /** Flag for splice(). */ #define SPLICE_F_NONBLOCK 2 /** Flag for splice(). */ #define SPLICE_F_MORE 4 /** Flag for splice(). */ #define SPLICE_F_GIFT 8
/** Flag for sync_file_range(). */ #define SYNC_FILE_RANGE_WAIT_BEFORE 1 /** Flag for sync_file_range(). */ #define SYNC_FILE_RANGE_WRITE 2 /** Flag for sync_file_range(). */ #define SYNC_FILE_RANGE_WAIT_AFTER 4
/** *[creat(2)](https://man7.org/linux/man-pages/man2/creat.2.html) *createsafile. * *Returnsanewfiledescriptoronsuccessandreturns-1andsets`errno`on *failure.
*/ int creat(constchar* _Nonnull __path, mode_t __mode); /** See creat(). */ int creat64(constchar* _Nonnull __path, mode_t __mode);
/** *[openat(2)](https://man7.org/linux/man-pages/man2/openat.2.html) *opens(andpossiblycreates)afile. * *Returnsanewfiledescriptoronsuccessandreturns-1andsets`errno`on *failure.
*/ int openat(int __dir_fd, constchar* _Nonnull __path, int __flags, ...); /** See openat(). */ int openat64(int __dir_fd, constchar* _Nonnull __path, int __flags, ...);
/** *[open(2)](https://man7.org/linux/man-pages/man2/open.2.html) *opens(andpossiblycreates)afile. * *Returnsanewfiledescriptoronsuccessandreturns-1andsets`errno`on *failure.
*/ int open(constchar* _Nonnull __path, int __flags, ...); /** See open(). */ int open64(constchar* _Nonnull __path, int __flags, ...);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.