/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ALPHA_FCNTL_H #define _ALPHA_FCNTL_H
#define O_CREAT 01000/* not fcntl */ #define O_TRUNC 02000/* not fcntl */ #define O_EXCL 04000/* not fcntl */ #define O_NOCTTY 010000/* not fcntl */
#define O_NONBLOCK 00004 #define O_APPEND 00010 #define O_DSYNC 040000/* used to be O_SYNC, see below */ #define O_DIRECTORY 0100000/* must be a directory */ #define O_NOFOLLOW 0200000/* don't follow links */ #define O_LARGEFILE 0400000/* will be set by the kernel on every open */ #define O_DIRECT 02000000/* direct disk access - should check with OSF/1 */ #define O_NOATIME 04000000 #define O_CLOEXEC 010000000/* set close_on_exec */ /* *BeforeLinux2.6.33onlyO_DSYNCsemanticswereimplemented,butusing *theO_SYNCflag.Wecontinuetousetheexistingnumericalvalue *forO_DSYNCsemanticsnow,butusingthecorrectsymbolicnameforit. *ThisnewvalueisusedtorequesttruePosixO_SYNCsemantics.Itis *definedinthisstrangewaytomakesureapplicationscompiledagainst *newheadersgetatleastO_DSYNCsemanticsonolderkernels. * *Thishastheniceside-effectthatwecansimplytestforO_DSYNC *whereverwedonotcareifO_DSYNCorO_SYNCisused. * *Note:__O_SYNCmustneverbeuseddirectly.
*/ #define __O_SYNC 020000000 #define O_SYNC (__O_SYNC|O_DSYNC)
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.