Back to index
Go to the source code of this file.
Definition at line 29 of file unlockpt.c.
char buf[sizeof (_PATH_TTY) + 2];
/* BSD doesn't have a lock, but it does have `revoke'. */
if (__ptsname_r (fd, buf, sizeof (buf)))
return revoke (buf);