From a22b83c1e7f14baae18a309f30957fd73e992cd4 Mon Sep 17 00:00:00 2001 From: ed Date: Mon, 4 May 2009 18:14:45 +0000 Subject: Our grantpt(3) and unlockpt(3) don't comply with POSIX. --- lib/libc/stdlib/ptsname.3 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/libc/stdlib') diff --git a/lib/libc/stdlib/ptsname.3 b/lib/libc/stdlib/ptsname.3 index b9c7381..bfa3647 100644 --- a/lib/libc/stdlib/ptsname.3 +++ b/lib/libc/stdlib/ptsname.3 @@ -132,12 +132,16 @@ The slave pseudo-terminal device could not be accessed. .Xr tty 4 .Sh STANDARDS The -.Fn grantpt , .Fn ptsname +function conforms to +.St -p1003.1-2001 . +.Pp +This implementation of +.Fn grantpt and .Fn unlockpt -functions conform to -.St -p1003.1-2001 . +does not comply with any standard, because these functions assume the +pseudo-terminal has the correct attributes upon creation. .Sh HISTORY The .Fn grantpt , -- cgit v1.1