/illumos-gate/usr/src/lib/libdll/common/ |
H A D | dllopen.c | 40 dllopen(const char* name, int mode) 73 dll = dlopen(path, mode); 88 dllopen(const char* name, int mode) argument 90 return dlopen(name, mode);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/4.2/ |
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))));
|
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));
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | _access.c | 33 access_com(char *path, int mode) argument 37 if (mode == W_OK || mode == X_OK) 49 return (_syscall(SYS_faccessat, AT_FDCWD, path, mode, 0));
|
H A D | _creat.c | 37 creat_com(char *path, int mode) argument 48 "/var/adm/wtmpx", CREATFLAGS, mode)) >= 0) 55 "/var/adm/utmpx", CREATFLAGS, mode)) >= 0) 59 return (_syscall(SYS_openat, AT_FDCWD, path, CREATFLAGS, mode));
|
/illumos-gate/usr/src/lib/libbc/libc/sys/sys5/ |
H A D | access.c | 34 access(char *path, int mode) argument 36 return (access_com(path, 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))));
|
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));
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | mse.c | 78 _setorientation(FILE *iop, _IOP_orientation_t mode) argument 80 switch (mode) {
|
/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);
|
H A D | sfpurge.c | 36 reg int mode; local 41 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode|SF_SYNCED,0) < 0) 51 if((f->flags&SF_STRING) && (f->mode&SF_READ) ) 69 switch(f->mode&~SF_LOCK) 76 if(!f->proc || !(f->flags&SF_READ) || !(f->mode&SF_WRITE) )
|
H A D | sftell.c | 36 reg int mode; local 42 /* set the stream to the right mode */ 43 if((mode = f->mode&SF_RDWR) != (int)f->mode && _sfmode(f,mode,0) < 0) 56 else p = f->here + ((f->mode&SF_WRITE) ? f->next-f->data : f->next-f->endb);
|
/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 | fdopen.c | 27 fdopen(int fd, const char* mode) argument 31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL)))
|
H A D | fmemopen.c | 27 fmemopen(void* buf, size_t size, const char* mode) argument 29 STDIO_PTR(0, "fmemopen", Sfio_t*, (void*, size_t, const char*), (buf, size, mode)) 31 return sfnew(NiL, buf, size, -1, SF_STRING|_sftype(mode, NiL, NiL));
|
H A D | fopen.c | 27 fopen(const char* path, const char* mode) argument 29 return sfopen(NiL, path, 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);
|
H A D | fwide.c | 27 fwide(Sfio_t* f, int mode) argument 29 STDIO_INT(f, "fwide", int, (Sfio_t*, int), (f, mode)) 31 if (mode > 0) 36 else if (mode < 0)
|
H A D | popen.c | 27 popen(const char* cmd, const char* mode) argument 29 return sfpopen((Sfio_t*)(-1), cmd, 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/cmd/mailx/ |
H A D | lock.c | 47 lock(FILE *fp, char *mode, int blk) argument 51 l.l_type = !strcmp(mode, "r") ? F_RDLCK : F_WRLCK;
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_fdio.c | 45 int flags, mode_t mode) 44 mdb_fdio_create_path(const char *path[], const char *fname, int flags, mode_t mode) argument
|