Home
last modified time | relevance | path

Searched refs:filedes (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/tput/
H A Dtput.c585 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 Dpager.c38 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 Dpr_lseek.c41 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 Dchown.c65 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 Ds10_deleted.c72 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 Dspawn.c567 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 Dspawn.h96 int filedes,
103 int filedes);
107 int filedes,
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dcmd.c286 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 Dlibfsmgt.h202 char *cmd_retrieve_string(int filedes, int *errp);
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmapd.c217 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 Dconfigd.c462 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 Ditmcomp.c456 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 Dmakedbm.c84 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 Dbootrd_cpio.c361 static int filedes = 1; in bcpio_open() local
373 file->fd = filedes++; in bcpio_open()
/illumos-gate/usr/src/common/fs/
H A Dpcfs.c207 static int filedes = 1; in bpcfs_open() local
218 filep->fi_filedes = filedes++; in bpcfs_open()
H A Dhsfs.c475 static int filedes = 1; in bhsfs_open() local
486 filep->fi_filedes = filedes++; in bhsfs_open()
H A Dufsops.c622 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 Ddevice.c907 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 Dasmstub.c949 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 Dufsops.c682 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 Dhsfsops.c575 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 Dvgrindefs.src106 else elsedef enddef filedes for function goto if ifdef ifelse\
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c4665 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 Daudit_event.c1136 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 DChangeLog4092 _llseek renamed from "seeked_fd" to "filedes".