Home | Sort by: relevance | last modified time | path |
/src/tests/lib/libc/ttyio/ | |
t_ptm.c | 64 int fdm; local in function:ATF_TC_BODY 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 in function:ATF_TC_BODY 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), -1) 178 int fdm; local in function:ATF_TC_BODY [all...] |
t_ptm.c | 64 int fdm; local in function:ATF_TC_BODY 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 in function:ATF_TC_BODY 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), -1) 178 int fdm; local in function:ATF_TC_BODY [all...] |