Lines Matching defs:flags
61 void *xmmap(void *addr, size_t length, int prot, int flags, int fd, off_t off)
63 void *ret = mmap(addr, length, prot, flags, fd, off);
358 void xaccess(char *path, int flags)
360 if (access(path, flags)) perror_exit("Can't access '%s'", path);
372 int xcreate_stdio(char *path, int flags, int mode)
374 int fd = open(path, (flags^O_CLOEXEC)&~WARN_ONLY, mode);
381 int xopen_stdio(char *path, int flags)
383 return xcreate_stdio(path, flags, 0);
438 int xcreate(char *path, int flags, int mode)
440 return notstdio(xcreate_stdio(path, flags, mode));
444 int xopen(char *path, int flags)
446 return notstdio(xopen_stdio(path, flags));
450 int openro(char *path, int flags)
454 return xopen(path, flags^WARN_ONLY);
939 void xsignal_flags(int signal, void *handler, int flags)
945 sa->sa_flags = flags;