/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | creat.c | 29 int creat(path, mode) 31 int mode; 34 return(creat_com(path, mode));
|
H A D | access.c | 34 access(char *path, int mode) argument 36 return (access_com(path, mode));
|
H A D | mknod.c | 41 mknod(char *path, int mode, int dev) argument 43 if ((mode & S_IFMT) == S_IFDIR) 48 return (mkdir(path, mode & 07777)); 50 return (_mknod(path, mode, dev));
|
H A D | open.c | 33 open(char *path, int flags, int mode) argument 35 return (bc_open(path, flags, mode)); 40 bc_open(char *path, int flags, int mode) argument 46 return (open_com(path, flags, mode));
|
H A D | mkfifo.c | 33 mkfifo(char *path, mode_t mode) argument 35 return (mknod(path, S_IFIFO | (mode & (S_IRWXU|S_IRWXG|S_IRWXO))));
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | mkfifo.c | 39 mkfifoat(int fd, const char *path, mode_t mode) argument 41 mode &= 0777; /* only allow file access permissions */ 42 mode |= S_IFIFO; /* creating a FIFO */ 43 return (mknodat(fd, path, mode, 0)); 48 mkfifo(const char *path, mode_t mode) argument 50 mode &= 0777; /* only allow file access permissions */ 51 mode |= S_IFIFO; /* creating a FIFO */ 52 return (mknod(path, mode, 0));
|
/illumos-gate/usr/src/lib/libast/common/stdio/ |
H A D | _stdopen.c | 29 _stdopen(int fd, const char* mode) argument 31 return fdopen(fd, mode);
|
H A D | fopen.c | 27 fopen(const char* path, const char* mode) argument 29 return sfopen(NiL, path, mode);
|
H A D | popen.c | 27 popen(const char* cmd, const char* mode) argument 29 return sfpopen((Sfio_t*)(-1), cmd, mode);
|
H A D | freopen.c | 27 freopen(const char* path, const char* mode, Sfio_t* f) argument 29 STDIO_PTR(f, "freopen", Sfio_t*, (const char*, const char*, Sfio_t*), (path, mode, f)) 31 return sfopen(f, path, mode);
|
/illumos-gate/usr/src/cmd/sgs/tsort/common/ |
H A D | zfopen.c | 47 char *mode; local 50 mode = "updating"; 54 mode = "reading"; 57 mode = "writing"; 60 mode = "appending"; 63 mode = type; 67 path, mode);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | fwide.c | 38 fwide(FILE *fp, int mode) argument 46 if (mode != 0 && m == _NO_MODE) 47 _setorientation(fp, (mode > 0) ? _WC_MODE : _BYTE_MODE); 52 mode = 1; 55 mode = 0; 58 mode = -1; 62 return (mode);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | open.c | 36 open(char *path, int flags, int mode) argument 38 return (bc_open(path, flags, mode)); 42 bc_open(char *path, int flags, int mode) argument 49 return (open_com(path, flags, mode));
|
H A D | access.c | 35 access(char *path, int mode) argument 39 return (access_com(path, mode));
|
H A D | creat.c | 36 creat(char *path, int mode) argument 40 return (creat_com(path, mode));
|
H A D | mkfifo.c | 34 mkfifo(char *path, mode_t mode) argument 37 return (mknod(path, S_IFIFO | (mode & (S_IRWXU|S_IRWXG|S_IRWXO))));
|
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfopen.c | 31 Sfio_t* sfopen(Sfio_t* f, const char* file, const char* mode) argument 33 Sfio_t* sfopen(f,file,mode) 36 reg char* mode; /* mode of the stream */ 39 return _sfopen(f, file, mode);
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | dirs.c | 42 int mode 45 mkdir_lpdir (path, mode) 47 int mode; 55 ret = Mkdir(path, mode);
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | mknod.c | 40 mknod(const char* path, mode_t mode, dev_t dev) 42 if (S_ISFIFO(mode)) 43 return mkfifo(path, mode); 44 if (S_ISDIR(mode)) 45 return mkdir(path, mode);
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmset.c | 44 reg int mode, inuse; local 48 return vd->mode; 51 if(!(vd->mode&VM_TRUST) ) 59 mode = vd->mode; 62 vd->mode |= (flags&VM_FLAGS); 63 else vd->mode &= ~(flags&VM_FLAGS); 65 if(vd->mode&(VM_TRACE|VM_MTDEBUG)) 66 vd->mode &= ~VM_TRUST; 71 return mode; [all...] |
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | mkdir.c | 32 mkdirat(int fd, const char *path, mode_t mode) argument 34 return (syscall(SYS_mkdirat, fd, path, mode)); 39 mkdir(const char *path, mode_t mode) argument 42 return (syscall(SYS_mkdir, path, mode)); 44 return (mkdirat(AT_FDCWD, path, mode));
|
/illumos-gate/usr/src/lib/libast/common/string/ |
H A D | fmtmode.c | 27 * return ls -l style file mode string given file mode bits 28 * if external!=0 then mode is modex canonical 34 fmtmode(register int mode, int external) argument 41 mode = modex(mode); 44 *s++ = p->name[((mode & p->mask1) >> p->shift1) | ((mode & p->mask2) >> p->shift2)];
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | kernel.c | 41 tnfctl_trace_state_set(tnfctl_handle_t *hdl, boolean_t mode) argument 43 if (hdl->mode != KERNEL_MODE) 47 return (_tnfctl_prbk_set_tracing(hdl, mode)); 51 tnfctl_filter_state_set(tnfctl_handle_t *hdl, boolean_t mode) argument 53 if (hdl->mode != KERNEL_MODE) 57 return (_tnfctl_prbk_set_pfilter_mode(hdl, mode)); 63 if (hdl->mode != KERNEL_MODE) 73 if (hdl->mode != KERNEL_MODE) 83 if (hdl->mode != KERNEL_MODE)
|
/illumos-gate/usr/src/cmd/sendmail/db/os/ |
H A D | os_oflags.c | 61 int mode; local 80 mode = 0; 82 mode |= S_IRUSR; 84 mode |= S_IWUSR; 86 mode |= S_IRGRP; 88 mode |= S_IWGRP; 90 mode |= S_IROTH; 92 mode |= S_IWOTH; 93 return (mode);
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | wc.c | 74 static void printout(register Wc_t *wp, register char *name,register int mode) argument 76 if (mode&WC_LINES) 78 if (mode&WC_WORDS) 80 if (mode&WC_CHARS) 82 if (mode&WC_LONGEST) 93 register int mode=0, n; local 105 mode |= WC_CHARS; 108 mode |= WC_LINES; 111 mode |= WC_LONGEST; 115 mode | [all...] |