| /src/lib/libc/stdlib/ |
| pty.c | 45 grantpt(int fildes) 48 return ioctl(fildes, TIOCGRANTPT, 0); 53 unlockpt(int fildes) 60 ptsname(int fildes) 64 if (ioctl(fildes, TIOCPTSNAME, &pm) == -1) 71 ptsname_r(int fildes, char *buf, size_t buflen) { 76 if (ioctl(fildes, TIOCPTSNAME, &pm) == -1)
|
| /src/lib/librmt/ |
| rmtlib.c | 90 rmtabort(int fildes) 93 close(READ(fildes)); 94 close(WRITE(fildes)); 95 READ(fildes) = -1; 96 WRITE(fildes) = -1; 104 command(int fildes, const char *buf) 117 if ((size_t)write(WRITE(fildes), buf, blen) == blen) { 127 rmtabort(fildes); 138 status(int fildes) 149 if (read(READ(fildes), cp, 1) != 1) [all...] |
| /src/lib/libc/arch/mips/sys/ |
| pipe.S | 52 SYSTRAP(pipe) # pipe(fildes) int fildes[2];
|
| /src/lib/libc/arch/riscv/sys/ |
| pipe.S | 44 SYSTRAP(pipe) # pipe(fildes) int fildes[2];
|
| /src/lib/libterminfo/ |
| setupterm.c | 80 ti_setupterm(TERMINAL **nterm, const char *term, int fildes, int *errret) 93 if (fildes == STDOUT_FILENO && !isatty(fildes)) 94 fildes = STDERR_FILENO; 119 (*nterm)->fildes = fildes; 127 if (ioctl(fildes, TIOCGWINSZ, &win) != -1 && 151 setupterm(const char *term, int fildes, int *errret) 158 ret = ti_setupterm(&nterm, term, fildes, errret);
|
| /src/lib/libc/gen/ |
| posix_spawn_fileactions.c | 105 int fildes, const char * __restrict path, int oflag, mode_t mode) 111 if (fildes < 0) 124 fa->fae[i].fae_fildes = fildes; 134 int fildes, int newfildes) 139 if (fildes < 0 || newfildes < 0) 147 fa->fae[i].fae_fildes = fildes; 156 int fildes) 161 if (fildes < 0) 169 fa->fae[i].fae_fildes = fildes; 200 posix_spawn_file_actions_addfchdir(posix_spawn_file_actions_t *fa, int fildes) [all...] |
| /src/external/gpl3/binutils/dist/libiberty/ |
| fopen_unlocked.c | 49 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, @ 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode);
|
| /src/external/gpl3/binutils.old/dist/libiberty/ |
| fopen_unlocked.c | 49 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, @ 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode);
|
| /src/external/gpl3/gcc/dist/libiberty/ |
| fopen_unlocked.c | 49 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, @ 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode);
|
| /src/external/gpl3/gcc.old/dist/libiberty/ |
| fopen_unlocked.c | 49 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, @ 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode);
|
| /src/external/gpl3/gdb/dist/libiberty/ |
| fopen_unlocked.c | 49 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, @ 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode);
|
| /src/external/gpl3/gdb.old/dist/libiberty/ |
| fopen_unlocked.c | 49 @deftypefn Extension {FILE *} fdopen_unlocked (int @var{fildes}, @ 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode);
|
| /src/usr.bin/xlint/llib/ |
| llib-lposix | 93 int (close)(int fildes); 103 int (dup)(int fildes); 104 int (dup2)(int fildes, int fildes2); 119 int (fcntl)(int fildes, int cmd, ...); 120 FILE *(fdopen)(int fildes, const char *type); 132 long (fpathconf)(int fildes, int name); 145 int (fstat)(int fildes, struct stat *buf); 169 int (isatty)(int fildes); 189 off_t (lseek)(int fildes, off_t offset, int whence); 208 int (pipe)(int fildes[2]) [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| detach.c | 76 char *fildes; local 87 if (asprintf(&fildes, "%d", write_side) == -1 || 88 fildes == NULL) 93 new_argv[2] = fildes;
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| statvfs.d | 80 int fstatvfs64 (int fildes, statvfs_t *buf) @trusted; 86 int fstatvfs (int fildes, statvfs_t *buf); 135 int fstatvfs (int fildes, statvfs_t *buf) @trusted; 158 int fstatvfs (int fildes, statvfs_t* buf) @trusted; 215 int fstatvfs (int fildes, statvfs_t *buf) @trusted;
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| iotrace.c | 90 static int (*__real_fcntl)(int fildes, int cmd, ...) = NULL; 91 static int (*__real_openat)(int fildes, const char *path, int oflag, ...) = NULL; 92 static int (*__real_close)(int fildes) = NULL; 95 static int (*__real_dup)(int fildes) = NULL; 96 static int (*__real_dup2)(int fildes, int fildes2) = NULL; 97 static int (*__real_pipe)(int fildes[2]) = NULL; 102 static FILE *(*__real_fdopen)(int fildes, const char *mode) = NULL; 103 static ssize_t (*__real_read)(int fildes, void *buf, size_t nbyte) = NULL; 104 static ssize_t (*__real_write)(int fildes, const void *buf, size_t nbyte) = NULL; 105 static ssize_t (*__real_readv)(int fildes, const struct iovec *iov, int iovcnt) = NULL 1648 gprofng_fdopen (FILE*(real_fdopen) (int, const char *), int fildes, const char *mode) variable [all...] |
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| iotrace.c | 90 static int (*__real_fcntl)(int fildes, int cmd, ...) = NULL; 91 static int (*__real_openat)(int fildes, const char *path, int oflag, ...) = NULL; 92 static int (*__real_close)(int fildes) = NULL; 95 static int (*__real_dup)(int fildes) = NULL; 96 static int (*__real_dup2)(int fildes, int fildes2) = NULL; 97 static int (*__real_pipe)(int fildes[2]) = NULL; 102 static FILE *(*__real_fdopen)(int fildes, const char *mode) = NULL; 103 static ssize_t (*__real_read)(int fildes, void *buf, size_t nbyte) = NULL; 104 static ssize_t (*__real_write)(int fildes, const void *buf, size_t nbyte) = NULL; 105 static ssize_t (*__real_readv)(int fildes, const struct iovec *iov, int iovcnt) = NULL 1648 gprofng_fdopen (FILE*(real_fdopen) (int, const char *), int fildes, const char *mode) variable [all...] |
| /src/usr.bin/tip/ |
| tipout.c | 63 (void)read(fildes[0], &ccc,1); /* Now wait for coprocess */ 77 (void)read(fildes[0], &c, 1); /* We got the message */ 80 (void)read(fildes[0], &c, 1);
|
| cmds.c | 188 (void)write(fildes[1], (char *)&ccc, 1); 381 (void)write(fildes[1], (char *)&ccc, 1); 503 (void)write(fildes[1], (char *)&ccc, 1); 552 (void)write(fildes[1], (char *)&ccc, 1); 611 (void)write(fildes[1], value(RECORD), strlen(value(RECORD))); 612 (void)write(fildes[1], "\n", 1);
|
| /src/external/gpl3/gdb/dist/readline/readline/ |
| rltty.c | 746 int fildes = fileno (rl_outstream); 749 ioctl (&fildes, TIOCSTART, 0); 751 ioctl (fildes, TIOCSTART, 0); 760 tcflow (fildes, TCOON); 763 tcflow (fildes, TCOON); /* Simulate a ^Q. */ 767 ioctl (fildes, TCXONC, TCOON); 783 int fildes = fileno (rl_instream); 787 ioctl (&fildes, TIOCSTOP, 0); 789 ioctl (fildes, TIOCSTOP, 0); 796 tcflow (fildes, TCOOFF) [all...] |
| /src/external/gpl3/gdb.old/dist/readline/readline/ |
| rltty.c | 743 int fildes = fileno (rl_outstream); 746 ioctl (&fildes, TIOCSTART, 0); 748 ioctl (fildes, TIOCSTART, 0); 757 tcflow (fildes, TCOON); 760 tcflow (fildes, TCOON); /* Simulate a ^Q. */ 764 ioctl (fildes, TCXONC, TCOON); 780 int fildes = fileno (rl_instream); 784 ioctl (&fildes, TIOCSTOP, 0); 786 ioctl (fildes, TIOCSTOP, 0); 793 tcflow (fildes, TCOOFF) [all...] |
| /src/external/gpl3/gdb/dist/sim/ppc/ |
| emul_unix.c | 556 int fildes = (int)cpu_registers(processor)->gpr[arg0]; 562 printf_filtered ("%d %ld %d", fildes, (long)offset, whence); 564 status = fdbad (fildes); 566 status = lseek(fildes, offset, whence); 1210 int fildes = (int)cpu_registers(processor)->gpr[arg0]; 1216 printf_filtered ("%d, 0x%lx", fildes, (long)stat_pkt); 1218 status = fdbad (fildes); 1220 status = fstat (fildes, &buf); 1442 int fildes = cpu_registers(processor)->gpr[arg0]; 1457 status = fdbad (fildes); 555 int fildes = (int)cpu_registers(processor)->gpr[arg0]; local 1207 int fildes = (int)cpu_registers(processor)->gpr[arg0]; local 1439 int fildes = cpu_registers(processor)->gpr[arg0]; local 2142 int fildes = (int)cpu_registers(processor)->gpr[arg0]; local 2401 int fildes = cpu_registers(processor)->gpr[arg0]; local [all...] |
| /src/external/gpl3/gdb.old/dist/sim/ppc/ |
| emul_unix.c | 556 int fildes = (int)cpu_registers(processor)->gpr[arg0]; 562 printf_filtered ("%d %ld %d", fildes, (long)offset, whence); 564 status = fdbad (fildes); 566 status = lseek(fildes, offset, whence); 1210 int fildes = (int)cpu_registers(processor)->gpr[arg0]; 1216 printf_filtered ("%d, 0x%lx", fildes, (long)stat_pkt); 1218 status = fdbad (fildes); 1220 status = fstat (fildes, &buf); 1442 int fildes = cpu_registers(processor)->gpr[arg0]; 1457 status = fdbad (fildes); 555 int fildes = (int)cpu_registers(processor)->gpr[arg0]; local 1207 int fildes = (int)cpu_registers(processor)->gpr[arg0]; local 1439 int fildes = cpu_registers(processor)->gpr[arg0]; local 2142 int fildes = (int)cpu_registers(processor)->gpr[arg0]; local 2401 int fildes = cpu_registers(processor)->gpr[arg0]; local [all...] |
| /src/external/bsd/pam-u2f/dist/fuzz/ |
| wrap.c | 78 extern ssize_t __real_read(int fildes, void *buf, size_t nbyte); 79 extern ssize_t __wrap_read(int fildes, void *buf, size_t nbyte); 80 extern ssize_t __wrap_read(int fildes, void *buf, size_t nbyte) { 81 assert(fildes >= 0); 83 return __real_read(fildes, buf, nbyte);
|
| /src/sys/kern/ |
| sys_pipe.c | 207 pipe1(struct lwp *l, int *fildes, int flags) 231 fildes[0] = fd; 236 fildes[1] = fd; 242 fd_set_exclose(l, fildes[0], (flags & O_CLOEXEC) != 0); 243 fd_set_foclose(l, fildes[0], (flags & O_CLOFORK) != 0); 249 fd_set_exclose(l, fildes[1], (flags & O_CLOEXEC) != 0); 250 fd_set_foclose(l, fildes[1], (flags & O_CLOFORK) != 0); 255 fd_affix(p, rf, fildes[0]); 256 fd_affix(p, wf, fildes[1]); 259 fd_abort(p, rf, fildes[0]) [all...] |