Searched refs:grantpt (Results 1 – 19 of 19) sorted by relevance
28 int grantpt(int fd) { return 0; } in grantpt() function116 if (::grantpt (m_master_fd) < 0) in OpenFirstAvailableMaster()
251 int unlockpt __P((int)), grantpt __P((int));270 if ((m = ptsname(f)) == NULL || grantpt(f) || unlockpt(f))
245 AC_TRY_LINK([],[ptsname(0);grantpt(0);unlockpt(0);],[AC_DEFINE(HAVE_SVR4_PTYS)
351 * device and support the ptsname(), grantpt(), unlockpt() functions.
3495 ptsname(0);grantpt(0);unlockpt(0);
68 __strong_reference(__isptmaster, grantpt);
32 grantpt;
41 MLINKS+=ptsname.3 grantpt.3 ptsname.3 unlockpt.3
63 if (grantpt(master) == -1) in openpty()
107 if (grantpt(ptm) < 0) in openpty()
148 REQUIRE_ERRNO(grantpt(fdm), -1); in ATF_TC_BODY()
204 int grantpt(int);
139 if (grantpt(fd) == -1) in pty_open()
121 grantpt(master); in open_pty()
395 if (grantpt(p) == -1) in getpty()
401 grantpt(p); in getpty()
469 /* Define to 1 if you have the `grantpt' function. */
26504 grantpt \
1886 # 20080823: removal of unneeded pt_chown, to implement grantpt(3)