| /freebsd-14-stable/lib/libc/stdlib/ |
| HD | ptsname.c | 50 __isptmaster(int fildes) in __isptmaster() argument 53 if (_ioctl(fildes, TIOCPTMASTER) == 0) in __isptmaster() 77 __ptsname_r(int fildes, char *buffer, size_t buflen) in __ptsname_r() argument 86 if (__isptmaster(fildes) != 0) in __ptsname_r() 93 if (fdevname_r(fildes, buffer, buflen) == NULL) { in __ptsname_r() 109 ptsname(int fildes) in ptsname() argument 113 if (__ptsname_r(fildes, pt_slave, sizeof(pt_slave)) == 0) in ptsname()
|
| /freebsd-14-stable/lib/libc/gen/ |
| HD | posix_spawn.c | 430 int fildes, const char * __restrict path, int oflag, mode_t mode) in posix_spawn_file_actions_addopen() argument 435 if (fildes < 0) in posix_spawn_file_actions_addopen() 451 fae->fae_fildes = fildes; in posix_spawn_file_actions_addopen() 461 int fildes, int newfildes) in posix_spawn_file_actions_adddup2() argument 465 if (fildes < 0 || newfildes < 0) in posix_spawn_file_actions_adddup2() 475 fae->fae_fildes = fildes; in posix_spawn_file_actions_adddup2() 484 int fildes) in posix_spawn_file_actions_addclose() argument 488 if (fildes < 0) in posix_spawn_file_actions_addclose() 498 fae->fae_fildes = fildes; in posix_spawn_file_actions_addclose() 529 int fildes) in posix_spawn_file_actions_addfchdir_np() argument [all …]
|
| /freebsd-14-stable/lib/libc/sys/ |
| HD | pipe.c | 37 extern int __sys_pipe2(int fildes[2], int flags); 40 __sys_pipe(int fildes[2]) in __sys_pipe() 43 return (__sys_pipe2(fildes, 0)); in __sys_pipe()
|
| /freebsd-14-stable/contrib/tcsh/ |
| HD | sh.misc.c | 574 xclose(int fildes) in xclose() argument 576 if (fildes < 0) in xclose() 578 while (close(fildes) == -1 && errno == EINTR) in xclose() 604 xdup2(int fildes, int fildes2) in xdup2() argument 608 while ((res = dup2(fildes, fildes2)) == -1 && errno == EINTR) in xdup2() 684 xread(int fildes, void *buf, size_t nbyte) in xread() argument 693 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR); in xread() 699 xtcsetattr(int fildes, int optional_actions, const struct termios *termios_p) in xtcsetattr() argument 703 while ((res = tcsetattr(fildes, optional_actions, termios_p)) == -1 && in xtcsetattr() 712 xwrite(int fildes, const void *buf, size_t nbyte) in xwrite() argument [all …]
|
| HD | sh.lex.c | 1563 wide_read(int fildes, Char *buf, size_t nchars, int use_fclens) in wide_read() argument 1583 r = xread(fildes, cbuf + partial, len); in wide_read() 1618 lseek(fildes, -(off_t)partial, L_INCR); in wide_read()
|
| /freebsd-14-stable/contrib/sendmail/libsm/ |
| HD | mpeix.c | 201 sendmail_mpe_fcntl(int fildes, int cmd, ...) in sendmail_mpe_fcntl() argument 214 if (getsockname(fildes, &sa, &len) == -1) in sendmail_mpe_fcntl() 219 return sfcntl(fildes, cmd, arg); in sendmail_mpe_fcntl() 224 return fcntl(fildes, cmd, arg); in sendmail_mpe_fcntl() 233 if ((result = sfcntl(fildes, cmd, arg)) != -1 && in sendmail_mpe_fcntl()
|
| /freebsd-14-stable/usr.bin/tip/tip/ |
| HD | tipout.c | 68 read(fildes[0], &ccc,1); in intIOT() 84 read(fildes[0], &c, 1); in intEMT() 87 read(fildes[0], &c, 1); in intEMT()
|
| HD | cmds.c | 202 write(fildes[1], (char *)&ccc, 1); in transfer() 391 write(fildes[1], (char *)&ccc, 1); in transmit() 514 write(fildes[1], (char *)&ccc, 1); in pipeout() 568 write(fildes[1], (char *)&ccc, 1); in consh() 625 write(fildes[1], value(RECORD), size(value(RECORD))); in setscript() 626 write(fildes[1], "\n", 1); in setscript()
|
| HD | tip.h | 248 EXTERN int fildes[2]; /* file transfer synchronization channel */ variable
|
| HD | tip.c | 233 pipe(fildes); pipe(repdes); in main()
|
| /freebsd-14-stable/sys/kern/ |
| HD | sys_pipe.c | 478 kern_pipe(struct thread *td, int fildes[2], int flags, struct filecaps *fcaps1, in kern_pipe() 498 fildes[0] = fd; in kern_pipe() 513 fdclose(td, rf, fildes[0]); in kern_pipe() 522 fildes[1] = fd; in kern_pipe() 534 int fildes[2]; in freebsd10_pipe() local 536 error = kern_pipe(td, fildes, 0, NULL, NULL); in freebsd10_pipe() 540 td->td_retval[0] = fildes[0]; in freebsd10_pipe() 541 td->td_retval[1] = fildes[1]; in freebsd10_pipe() 550 int error, fildes[2]; in sys_pipe2() local 554 error = kern_pipe(td, fildes, uap->flags, NULL, NULL); in sys_pipe2() [all …]
|
| /freebsd-14-stable/sys/compat/linux/ |
| HD | linux_file.c | 1626 int fildes[2]; in linux_pipe() local 1629 error = kern_pipe(td, fildes, 0, NULL, NULL); in linux_pipe() 1633 error = copyout(fildes, args->pipefds, sizeof(fildes)); in linux_pipe() 1635 (void)kern_close(td, fildes[0]); in linux_pipe() 1636 (void)kern_close(td, fildes[1]); in linux_pipe() 1646 int fildes[2]; in linux_pipe2() local 1657 error = kern_pipe(td, fildes, flags, NULL, NULL); in linux_pipe2() 1661 error = copyout(fildes, args->pipefds, sizeof(fildes)); in linux_pipe2() 1663 (void)kern_close(td, fildes[0]); in linux_pipe2() 1664 (void)kern_close(td, fildes[1]); in linux_pipe2()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/tools/driver/ |
| HD | Platform.cpp | 53 int tcgetattr(int fildes, struct termios *termios_p) { in tcgetattr() argument
|
| HD | Platform.h | 73 extern int tcgetattr(int fildes, struct termios *termios_p);
|
| /freebsd-14-stable/contrib/netbsd-tests/fs/vfs/ |
| HD | t_vnops.c | 812 fcntl_getlocks(int fildes, off_t start, off_t len, in fcntl_getlocks() argument 821 RL(rump_sys_fcntl(fildes, F_GETLK, &l)); in fcntl_getlocks() 833 fcntl_getlocks(fildes, start, l.l_start - start, lock, end); in fcntl_getlocks() 844 rv += fcntl_getlocks(fildes, l.l_start + l.l_len, len, lock, end); in fcntl_getlocks() 847 rv += fcntl_getlocks(fildes, l.l_start + l.l_len, len, lock, end); in fcntl_getlocks()
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| HD | linux_syscall_hooks.h | 718 #define __sanitizer_syscall_pre_pipe(fildes) \ argument 719 __sanitizer_syscall_pre_impl_pipe((long)(fildes)) 720 #define __sanitizer_syscall_post_pipe(res, fildes) \ argument 721 __sanitizer_syscall_post_impl_pipe(res, (long)(fildes)) 722 #define __sanitizer_syscall_pre_pipe2(fildes, flags) \ argument 723 __sanitizer_syscall_pre_impl_pipe2((long)(fildes), (long)(flags)) 724 #define __sanitizer_syscall_post_pipe2(res, fildes, flags) \ argument 725 __sanitizer_syscall_post_impl_pipe2(res, (long)(fildes), (long)(flags)) 726 #define __sanitizer_syscall_pre_dup(fildes) \ argument 727 __sanitizer_syscall_pre_impl_dup((long)(fildes)) [all …]
|
| HD | netbsd_syscall_hooks.h | 2189 #define __sanitizer_syscall_pre_aio_cancel(fildes, aiocbp) \ argument 2190 __sanitizer_syscall_pre_impl_aio_cancel((long long)(fildes), \ 2192 #define __sanitizer_syscall_post_aio_cancel(res, fildes, aiocbp) \ argument 2193 __sanitizer_syscall_post_impl_aio_cancel(res, (long long)(fildes), \ 2522 #define __sanitizer_syscall_pre_pipe2(fildes, flags) \ argument 2523 __sanitizer_syscall_pre_impl_pipe2((long long)(fildes), (long long)(flags)) 2524 #define __sanitizer_syscall_post_pipe2(res, fildes, flags) \ argument 2525 __sanitizer_syscall_post_impl_pipe2(res, (long long)(fildes), \ 4504 void __sanitizer_syscall_pre_impl_aio_cancel(long long fildes, 4506 void __sanitizer_syscall_post_impl_aio_cancel(long long res, long long fildes, [all …]
|
| /freebsd-14-stable/contrib/ntp/libntp/lib/isc/unix/ |
| HD | ifiter_ioctl.c | 114 isc_ioctl(int fildes, int req, char *arg); 117 isc_ioctl(int fildes, int req, char *arg) { in isc_ioctl() argument 122 if ((ret = ioctl(fildes, req, arg)) < 0) { in isc_ioctl()
|
| /freebsd-14-stable/contrib/ntp/sntp/m4/ |
| HD | openldap-thread-check.m4 | 331 static int fildes[2]; 345 FD_SET(fildes[0], &rfds); 365 if(pipe(&fildes[0])) {
|
| /freebsd-14-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_common_syscalls.inc | 1345 PRE_SYSCALL(pipe)(void *fildes) {} 1347 POST_SYSCALL(pipe)(long res, void *fildes) { 1349 if (fildes) 1350 POST_WRITE(fildes, sizeof(int) * 2); 1353 PRE_SYSCALL(pipe2)(void *fildes, long flags) {} 1355 POST_SYSCALL(pipe2)(long res, void *fildes, long flags) { 1357 if (fildes) 1358 POST_WRITE(fildes, sizeof(int) * 2); 1361 PRE_SYSCALL(dup)(long fildes) {} 1363 POST_SYSCALL(dup)(long res, long fildes) {} [all …]
|
| HD | sanitizer_mac.cpp | 113 extern "C" void *__mmap(void *addr, size_t len, int prot, int flags, int fildes,
|
| /freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| HD | TargetLibraryInfo.def | 1212 /// FILE *fdopen(int fildes, const char *mode); 1460 /// int fstat(int fildes, struct stat *buf); 1470 /// int fstatvfs(int fildes, struct statvfs *buf); 1475 /// int fstatvfs64(int fildes, struct statvfs64 *buf); 1870 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 1905 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 1916 /// ssize_t read(int fildes, void *buf, size_t nbyte); 2472 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Host/common/ |
| HD | Host.cpp | 83 int __pthread_fchdir(int fildes);
|
| /freebsd-14-stable/sys/sys/ |
| HD | syscallsubr.h | 263 int kern_pipe(struct thread *td, int fildes[2], int flags,
|
| /freebsd-14-stable/contrib/ee/ |
| HD | ee.c | 154 int fildes; /* file descriptor */ variable
|