/src/tests/lib/libc/sys/ |
t_poll.c | 999 int hostfd, appfd; local in function:pollclosed_ptyapp_setup 1003 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY)); 1004 RL(grantpt(hostfd)); 1005 RL(unlockpt(hostfd)); 1006 REQUIRE_LIBC(pts = ptsname(hostfd), NULL); 1014 *writefdp = hostfd; 1020 int hostfd, appfd; local in function:pollclosed_ptyhost_setup 1024 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY)); 1025 RL(grantpt(hostfd)); 1026 RL(unlockpt(hostfd)); [all...] |
t_poll.c | 999 int hostfd, appfd; local in function:pollclosed_ptyapp_setup 1003 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY)); 1004 RL(grantpt(hostfd)); 1005 RL(unlockpt(hostfd)); 1006 REQUIRE_LIBC(pts = ptsname(hostfd), NULL); 1014 *writefdp = hostfd; 1020 int hostfd, appfd; local in function:pollclosed_ptyhost_setup 1024 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY)); 1025 RL(grantpt(hostfd)); 1026 RL(unlockpt(hostfd)); [all...] |
/src/tests/lib/libpthread/ |
t_cancellation.c | 808 int hostfd, appfd; local in function:cancelpoint_tcdrain 811 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY)); 812 RL(grantpt(hostfd)); 813 RL(unlockpt(hostfd)); 814 REQUIRE_LIBC(pts = ptsname(hostfd), NULL);
|
t_cancellation.c | 808 int hostfd, appfd; local in function:cancelpoint_tcdrain 811 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY)); 812 RL(grantpt(hostfd)); 813 RL(unlockpt(hostfd)); 814 REQUIRE_LIBC(pts = ptsname(hostfd), NULL);
|
/src/lib/librumphijack/ |
hijack.c | 472 mapdup2(int hostfd) 475 _DIAGASSERT(isdup2d(hostfd)); 476 return dup2vec[hostfd] & DUP2FDMASK; 493 setdup2(int hostfd, int rumpfd) 496 if (hostfd > DUP2HIGH) { 501 dup2vec[hostfd] = DUP2BIT | DUP2ALIAS | rumpfd; 505 clrdup2(int hostfd) 508 if (hostfd > DUP2HIGH) { 513 dup2vec[hostfd] = 0; 519 int hostfd; local in function:killdup2alias [all...] |
hijack.c | 472 mapdup2(int hostfd) 475 _DIAGASSERT(isdup2d(hostfd)); 476 return dup2vec[hostfd] & DUP2FDMASK; 493 setdup2(int hostfd, int rumpfd) 496 if (hostfd > DUP2HIGH) { 501 dup2vec[hostfd] = DUP2BIT | DUP2ALIAS | rumpfd; 505 clrdup2(int hostfd) 508 if (hostfd > DUP2HIGH) { 513 dup2vec[hostfd] = 0; 519 int hostfd; local in function:killdup2alias [all...] |