Home
last modified time | relevance | path

Searched refs:masterfd (Results 1 – 2 of 2) sorted by relevance

/minix/minix/tests/
H A Dtest77.c102 int len, masterfd, slavefd; in get_pty() local
109 if (grantpt(masterfd) != -1 && unlockpt(masterfd) != -1 && in get_pty()
111 *pfd = masterfd; in get_pty()
121 test_comm(masterfd, slavefd); in get_pty()
123 *pfd = masterfd; in get_pty()
423 int masterfd, slavefd; in test77d() local
498 int masterfd, slavefd; in test77e() local
702 close(masterfd); in test77f()
804 int masterfd; in get_unix98_pty() local
815 return masterfd; in get_unix98_pty()
[all …]
/minix/usr.sbin/user/
H A Duser.c1089 int masterfd; local
1114 if (flock(masterfd, LOCK_EX | LOCK_NB) < 0) {
1121 (void)close(masterfd);
1129 (void)close(masterfd);
1137 (void)close(masterfd);
1458 int masterfd; local
1488 if (flock(masterfd, LOCK_EX | LOCK_NB) < 0) {
1495 (void)close(masterfd);
1500 if ((master = fdopen(masterfd, "r")) == NULL) {
1502 (void)close(masterfd);
[all …]