/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | pager.c | 41 int filedes[2]; local 43 if (pipe(filedes) != 0) 53 if (dup2(filedes[0], 0) == -1) 61 (void) close(filedes[0]); 62 return(filedes[1]);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 43 pr_lseek(struct ps_prochandle *Pr, int filedes, off_t offset, int whence) argument 54 return (lseek(filedes, offset, whence)); 56 adp = &argd[0]; /* filedes argument */ 57 adp->arg_value = filedes; 118 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, int whence) argument 129 return (llseek(filedes, offset, whence)); 131 adp = &argd[0]; /* filedes argument */ 132 adp->arg_value = filedes;
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | chown.c | 65 fchown(int filedes, uid_t uid, gid_t gid) argument 68 return (syscall(SYS_fchown, filedes, uid, gid)); 70 return (fchownat(filedes, NULL, uid, gid, 0));
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 280 * - int filedes - The file descriptor to be read. 288 cmd_retrieve_string(int filedes, int *errp) { argument 312 pollfds[0].fd = filedes; 343 returned_value = read(filedes, buffer,
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | makedbm.c | 84 close(int filedes) { argument 99 if (inode_dev_valid != 0 && fstat64(filedes, &sb) == 0) { 106 return ((*fptr)(filedes));
|
/illumos-gate/usr/src/cmd/tput/ |
H A D | tput.c | 577 register int filedes; /* File descriptor for ioctl's. */ local 604 if ((filedes = 1, GTTYS(filedes, &termmodes) < 0) || 605 (filedes = 2, GTTYS(filedes, &termmodes) < 0) || 606 (filedes = 0, GTTYS(filedes, &termmodes) < 0) || 607 (filedes = open("/dev/tty", O_RDWR), 608 GTTYS(filedes, &termmodes) < 0)) { 610 if ((filedes [all...] |
/illumos-gate/usr/src/common/fs/ |
H A D | pcfs.c | 209 static int filedes = 1; local 220 filep->fi_filedes = filedes++;
|
H A D | ufsops.c | 615 static int filedes = 1; local 625 filep->fi_filedes = filedes++;
|
H A D | hsfs.c | 476 static int filedes = 1; local 487 filep->fi_filedes = filedes++;
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 212 int filedes[2]; local 221 if (pipe(filedes) < 0) 229 (void) close(filedes[1]); 230 if (read(filedes[0], &data, 1) == 1) { 245 pipe_fd = filedes[1]; 246 (void) close(filedes[0]);
|
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/ |
H A D | s10_deleted.c | 72 s10_fstat(sysret_t *rval, int filedes, struct stat *sb) argument 75 filedes, NULL, sb, 0)); 103 s10_fstat64(sysret_t *rval, int filedes, struct stat64 *sb) argument 106 filedes, NULL, sb, 0)); 215 s10_fchmod(sysret_t *rval, int filedes, mode_t mode) argument 218 filedes, NULL, mode, 0)); 244 s10_fchown(sysret_t *rval, int filedes, uid_t uid, gid_t gid) argument 247 filedes, NULL, uid, gid, 0));
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 462 int filedes[2]; local 469 if (pipe(filedes)) { 476 (void) close(filedes[0]); 478 (void) dup2(filedes[1], 1); 484 (void) close(filedes[1]); 485 return (fdopen(filedes[0], "r"));
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 461 int filedes[2]; local 467 if (pipe(filedes) < 0) 485 (void) close(filedes[1]); 486 if (read(filedes[0], &data, 1) == 1) { 502 pipe_fd = filedes[1]; 503 (void) close(filedes[0]);
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 681 static int filedes = 1; local 689 filep->fi_filedes = filedes++;
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 575 static int filedes = 1; local 584 filep->fi_filedes = filedes++;
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 567 int filedes, 574 if (filedes < 0) 589 fap->fa_filedes = filedes; 598 int filedes) 602 if (filedes < 0) 608 fap->fa_filedes = filedes; 617 int filedes, 622 if (filedes < 0 || newfiledes < 0) 628 fap->fa_filedes = filedes; 565 posix_spawn_file_actions_addopen( posix_spawn_file_actions_t *file_actions, int filedes, const char *path, int oflag, mode_t mode) argument 596 posix_spawn_file_actions_addclose( posix_spawn_file_actions_t *file_actions, int filedes) argument 615 posix_spawn_file_actions_adddup2( posix_spawn_file_actions_t *file_actions, int filedes, int newfiledes) argument
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1132 long filedes; member in struct:a 1158 long filedes; member in struct:a 1177 long filedes; member in struct:a 1196 long filedes; member in struct:a
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 4689 int filedes[2]; local 4695 if (pipe(filedes) < 0) 4715 (void) close(filedes[1]); 4716 if (read(filedes[0], &data, 1) == 1) { 4735 pipe_fd = filedes[1]; 4736 (void) close(filedes[0]);
|