Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Use the correct field name when describing t...
details: https://anonhg.NetBSD.org/src/rev/260231e8f809
branches: trunk
changeset: 782161:260231e8f809
user: apb <apb%NetBSD.org@localhost>
date: Fri Oct 19 10:44:34 2012 +0000
description:
Use the correct field name when describing the equivalence between
ptsname(3) and ioctl TIOCPTSNAME. It should be pm.sn, not pm.ps.
diffstat:
lib/libc/stdlib/ptsname.3 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6434c20921b6 -r 260231e8f809 lib/libc/stdlib/ptsname.3
--- a/lib/libc/stdlib/ptsname.3 Fri Oct 19 09:56:32 2012 +0000
+++ b/lib/libc/stdlib/ptsname.3 Fri Oct 19 10:44:34 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ptsname.3,v 1.5 2008/04/30 13:10:51 martin Exp $
+.\" $NetBSD: ptsname.3,v 1.6 2012/10/19 10:44:34 apb Exp $
.\"
.\" Copyright (c) 2004 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -85,7 +85,7 @@
function is equivalent to:
.Bd -literal
struct ptmget pm;
- return ioctl(masterfd, TIOCPTSNAME, \*[Am]pm) == -1 ? NULL : pm.ps;
+ return ioctl(masterfd, TIOCPTSNAME, \*[Am]pm) == -1 ? NULL : pm.sn;
.Ed
.Sh SEE ALSO
.Xr ioctl 2 ,
Home |
Main Index |
Thread Index |
Old Index