Lines Matching refs:mode
46 int creat(const char* pathname, mode_t mode) {
47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode);
52 mode_t mode = 0;
57 mode = (mode_t) va_arg(args, int);
61 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode);
67 __fortify_chk_fail("open(O_CREAT): called without specifying a mode", 0);
74 mode_t mode = 0;
79 mode = (mode_t) va_arg(args, int);
83 return __openat(fd, pathname, force_O_LARGEFILE(flags), mode);
89 __fortify_chk_fail("openat(O_CREAT): called without specifying a mode", 0);