/illumos-gate/usr/src/cmd/tput/ |
H A D | tput.c | 585 register int filedes; /* File descriptor for ioctl's. */ in initterm() local 612 if ((filedes = 1, GTTYS(filedes, &termmodes) < 0) || in initterm() 613 (filedes = 2, GTTYS(filedes, &termmodes) < 0) || in initterm() 614 (filedes = 0, GTTYS(filedes, &termmodes) < 0) || in initterm() 615 (filedes = open("/dev/tty", O_RDWR), in initterm() 616 GTTYS(filedes, &termmodes) < 0)) { in initterm() 618 if ((filedes = 1, GTTY(filedes, &termmode) == -1) || in initterm() 619 (filedes = 2, GTTY(filedes, &termmode) == -1) || in initterm() 620 (filedes = 0, GTTY(filedes, &termmode) == -1) || in initterm() 621 (filedes = open("/dev/tty", O_RDWR), in initterm() [all …]
|
/illumos-gate/usr/src/lib/krb5/ss/ |
H A D | pager.c | 38 int filedes[2]; in ss_pager_create() local 40 if (pipe(filedes) != 0) in ss_pager_create() 50 if (dup2(filedes[0], 0) == -1) in ss_pager_create() 58 (void) close(filedes[0]); in ss_pager_create() 59 return(filedes[1]); in ss_pager_create()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_lseek.c | 41 pr_lseek(struct ps_prochandle *Pr, int filedes, off_t offset, int whence) in pr_lseek() argument 52 return (lseek(filedes, offset, whence)); in pr_lseek() 55 adp->arg_value = filedes; in pr_lseek() 116 pr_llseek(struct ps_prochandle *Pr, int filedes, offset_t offset, int whence) in pr_llseek() argument 127 return (llseek(filedes, offset, whence)); in pr_llseek() 130 adp->arg_value = filedes; in pr_llseek()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | chown.c | 65 fchown(int filedes, uid_t uid, gid_t gid) in fchown() argument 68 return (syscall(SYS_fchown, filedes, uid, gid)); in fchown() 70 return (fchownat(filedes, NULL, uid, gid, 0)); in fchown()
|
/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) in s10_fstat() argument 75 filedes, NULL, sb, 0)); in s10_fstat() 103 s10_fstat64(sysret_t *rval, int filedes, struct stat64 *sb) in s10_fstat64() argument 106 filedes, NULL, sb, 0)); in s10_fstat64() 215 s10_fchmod(sysret_t *rval, int filedes, mode_t mode) in s10_fchmod() argument 218 filedes, NULL, mode, 0)); in s10_fchmod() 244 s10_fchown(sysret_t *rval, int filedes, uid_t uid, gid_t gid) in s10_fchown() argument 247 filedes, NULL, uid, gid, 0)); in s10_fchown()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 567 int filedes, in posix_spawn_file_actions_addopen() argument 574 if (filedes < 0) in posix_spawn_file_actions_addopen() 589 fap->fa_filedes = filedes; in posix_spawn_file_actions_addopen() 598 int filedes) in posix_spawn_file_actions_addclose() argument 602 if (filedes < 0) in posix_spawn_file_actions_addclose() 608 fap->fa_filedes = filedes; in posix_spawn_file_actions_addclose() 617 int filedes, in posix_spawn_file_actions_adddup2() argument 622 if (filedes < 0 || newfiledes < 0) in posix_spawn_file_actions_adddup2() 628 fap->fa_filedes = filedes; in posix_spawn_file_actions_adddup2()
|
/illumos-gate/usr/src/head/ |
H A D | spawn.h | 96 int filedes, 103 int filedes); 107 int filedes,
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | cmd.c | 286 cmd_retrieve_string(int filedes, int *errp) { in cmd_retrieve_string() argument 310 pollfds[0].fd = filedes; in cmd_retrieve_string() 341 returned_value = read(filedes, buffer, in cmd_retrieve_string()
|
H A D | libfsmgt.h | 202 char *cmd_retrieve_string(int filedes, int *errp);
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmapd.c | 217 int filedes[2]; in daemonize_start() local 226 if (pipe(filedes) < 0) in daemonize_start() 234 (void) close(filedes[1]); in daemonize_start() 235 if (read(filedes[0], &data, 1) == 1) { in daemonize_start() 250 pipe_fd = filedes[1]; in daemonize_start() 251 (void) close(filedes[0]); in daemonize_start()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 462 int filedes[2]; in daemonize_start() local 468 if (pipe(filedes) < 0) in daemonize_start() 486 (void) close(filedes[1]); in daemonize_start() 487 if (read(filedes[0], &data, 1) == 1) { in daemonize_start() 503 pipe_fd = filedes[1]; in daemonize_start() 504 (void) close(filedes[0]); in daemonize_start()
|
/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 456 int filedes[2]; in cpp_open() local 463 if (pipe(filedes)) { in cpp_open() 470 (void) close(filedes[0]); in cpp_open() 472 (void) dup2(filedes[1], 1); in cpp_open() 478 (void) close(filedes[1]); in cpp_open() 479 return (fdopen(filedes[0], "r")); in cpp_open()
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | makedbm.c | 84 close(int filedes) { in close() argument 99 if (inode_dev_valid != 0 && fstat64(filedes, &sb) == 0) { in close() 106 return ((*fptr)(filedes)); in close()
|
/illumos-gate/usr/src/uts/common/krtld/ |
H A D | bootrd_cpio.c | 361 static int filedes = 1; in bcpio_open() local 373 file->fd = filedes++; in bcpio_open()
|
/illumos-gate/usr/src/common/fs/ |
H A D | pcfs.c | 207 static int filedes = 1; in bpcfs_open() local 218 filep->fi_filedes = filedes++; in bpcfs_open()
|
H A D | hsfs.c | 475 static int filedes = 1; in bhsfs_open() local 486 filep->fi_filedes = filedes++; in bhsfs_open()
|
H A D | ufsops.c | 622 static int filedes = 1; in bufs_open() local 632 filep->fi_filedes = filedes++; in bufs_open()
|
/illumos-gate/usr/src/grub/grub-0.97/lib/ |
H A D | device.c | 907 static int _llseek (uint filedes, ulong hi, ulong lo, in write_to_partition() 909 _syscall5 (int, _llseek, uint, filedes, ulong, hi, ulong, lo, in write_to_partition()
|
/illumos-gate/usr/src/grub/grub-0.97/grub/ |
H A D | asmstub.c | 949 static int _llseek (uint filedes, ulong hi, ulong lo, in biosdisk() 951 _syscall5 (int, _llseek, uint, filedes, ulong, hi, ulong, lo, in biosdisk()
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 682 static int filedes = 1; in boot_ufs_open() local 690 filep->fi_filedes = filedes++; in boot_ufs_open()
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 575 static int filedes = 1; in boot_hsfs_open() local 584 filep->fi_filedes = filedes++; in boot_hsfs_open()
|
/illumos-gate/usr/src/cmd/vgrind/ |
H A D | vgrindefs.src | 106 else elsedef enddef filedes for function goto if ifdef ifelse\
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 4665 int filedes[2]; in daemonize_start() local 4671 if (pipe(filedes) < 0) in daemonize_start() 4691 (void) close(filedes[1]); in daemonize_start() 4692 if (read(filedes[0], &data, 1) == 1) { in daemonize_start() 4711 pipe_fd = filedes[1]; in daemonize_start() 4712 (void) close(filedes[0]); in daemonize_start()
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1136 long filedes; in aui_openat() member 1162 long filedes; in aus_openat() member 1181 long filedes; in aui_unlinkat() member 1200 long filedes; in aui_fstatat() member
|
/illumos-gate/usr/src/grub/grub-0.97/ |
H A D | ChangeLog | 4092 _llseek renamed from "seeked_fd" to "filedes".
|