Searched defs:mode (Results 1 - 25 of 1014) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libdll/common/
H A Ddllopen.c40 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 Daccess.c35 access(char *path, int mode) argument
39 return (access_com(path, mode));
H A Dcreat.c36 creat(char *path, int mode) argument
40 return (creat_com(path, mode));
H A Dmkfifo.c34 mkfifo(char *path, mode_t mode) argument
37 return (mknod(path, S_IFIFO | (mode & (S_IRWXU|S_IRWXG|S_IRWXO))));
H A Dopen.c36 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.c33 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.c37 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 Daccess.c34 access(char *path, int mode) argument
36 return (access_com(path, mode));
H A Dmkfifo.c33 mkfifo(char *path, mode_t mode) argument
35 return (mknod(path, S_IFIFO | (mode & (S_IRWXU|S_IRWXG|S_IRWXO))));
H A Dmknod.c41 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 Dopen.c33 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 Dmse.c78 _setorientation(FILE *iop, _IOP_orientation_t mode) argument
80 switch (mode) {
/illumos-gate/usr/src/lib/libast/common/sfio/
H A Dsfopen.c31 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 Dsfpurge.c36 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 Dsftell.c36 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.c29 _stdopen(int fd, const char* mode) argument
31 return fdopen(fd, mode);
H A Dfdopen.c27 fdopen(int fd, const char* mode) argument
31 if (fd < 0 || !(flags = _sftype(mode, NiL, NiL)))
H A Dfmemopen.c27 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 Dfopen.c27 fopen(const char* path, const char* mode) argument
29 return sfopen(NiL, path, mode);
H A Dfreopen.c27 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 Dfwide.c27 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 Dpopen.c27 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 Dfwide.c38 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 Dlock.c47 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 Dkmdb_fdio.c45 int flags, mode_t mode)
44 mdb_fdio_create_path(const char *path[], const char *fname, int flags, mode_t mode) argument

Completed in 156 milliseconds

1234567891011>>