summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-05-04 18:14:45 +0000
committered <ed@FreeBSD.org>2009-05-04 18:14:45 +0000
commita22b83c1e7f14baae18a309f30957fd73e992cd4 (patch)
tree351e3552e868368f26b6125f0aba14fb26d12db5 /lib/libc
parent3b0819d0afb64bc978363bcb108d66e47adb5af7 (diff)
downloadFreeBSD-src-a22b83c1e7f14baae18a309f30957fd73e992cd4.zip
FreeBSD-src-a22b83c1e7f14baae18a309f30957fd73e992cd4.tar.gz
Our grantpt(3) and unlockpt(3) don't comply with POSIX.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/ptsname.310
1 files changed, 7 insertions, 3 deletions
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 ,
OpenPOWER on IntegriCloud