Lines Matching refs:flags
51 vflopenat(int dirfd, const char *path, int flags, va_list ap) in vflopenat() argument
58 flags &= ~O_EXLOCK; in vflopenat()
62 if (flags & O_CREAT) { in vflopenat()
67 if (flags & O_NONBLOCK) in vflopenat()
70 trunc = (flags & O_TRUNC); in vflopenat()
71 flags &= ~O_TRUNC; in vflopenat()
74 if ((fd = openat(dirfd, path, flags, mode)) == -1) in vflopenat()
126 flopen(const char *path, int flags, ...) in flopen() argument
131 va_start(ap, flags); in flopen()
132 ret = vflopenat(AT_FDCWD, path, flags, ap); in flopen()
138 flopenat(int dirfd, const char *path, int flags, ...) in flopenat() argument
143 va_start(ap, flags); in flopenat()
144 ret = vflopenat(dirfd, path, flags, ap); in flopenat()