Searched refs:fdm (Results 1 - 3 of 3) sorted by relevance
/netbsd-6-1-5-RELEASE/tests/lib/libc/ttyio/ |
H A D | t_ptm.c | 64 int fdm; local 67 if ((fdm = open("/dev/ptm", O_RDWR)) == -1) { 73 REQUIRE_ERRNO(fstat(fdm, &stm), -1); 75 REQUIRE_ERRNO(ioctl(fdm, TIOCPTMGET, &ptm), -1); 103 (void)close(fdm); 129 int fdm, fds; local 132 if ((fdm = posix_openpt(O_RDWR|O_NOCTTY)) == -1) { 139 REQUIRE_ERRNO(fstat(fdm, &stm), -1); 148 REQUIRE_ERRNO(grantpt(fdm), -1); 149 REQUIRE_ERRNO(unlockpt(fdm), [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | ex_script.c | 711 int fdm; local 715 if ((fdm = open(pts_name, O_RDWR)) < 0 ) 718 if (grantpt(fdm) < 0) { 719 close(fdm); 723 if (unlockpt(fdm) < 0) { 724 close(fdm); 728 if (unlockpt(fdm) < 0) { 729 close(fdm); 734 if ((ptr = ptsname(fdm)) == NULL) { 735 close(fdm); 747 ptys_open(int fdm, char *pts_name) argument [all...] |
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | session.c | 181 struct fd_monitor *fdm; local 319 TAILQ_FOREACH(fdm, &fd_monitor_tree[i], chain) { 320 if (!FD_ISSET(fdm->fd, &active_mask)) 323 FD_CLR(fdm->fd, &active_mask); 324 if (fdm->callback != NULL) { 325 fdm->callback(fdm->ctx, fdm->fd);
|
Completed in 116 milliseconds