Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/termios Remove empty Fd. Use minus for return value...



details:   https://anonhg.NetBSD.org/src/rev/8229044e953e
branches:  trunk
changeset: 357185:8229044e953e
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Oct 30 15:43:21 2017 +0000

description:
Remove empty Fd. Use minus for return value. End list. Sort SEE ALSO.

diffstat:

 lib/libc/termios/tcgetwinsize.3 |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 7a6a80b4b7bd -r 8229044e953e lib/libc/termios/tcgetwinsize.3
--- a/lib/libc/termios/tcgetwinsize.3   Mon Oct 30 15:38:52 2017 +0000
+++ b/lib/libc/termios/tcgetwinsize.3   Mon Oct 30 15:43:21 2017 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tcgetwinsize.3,v 1.1 2017/10/25 06:32:59 kre Exp $
+.\" $NetBSD: tcgetwinsize.3,v 1.2 2017/10/30 15:43:21 wiz Exp $
 .\"
 .\" Copyright (c) 2017 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -35,10 +35,8 @@
 .Lb libc
 .Sh SYNOPSIS
 .In termios.h
-.Fd
 .Ft int
 .Fn tcgetwinsize "int fd" "struct winsize *gws"
-.Fd
 .Ft int
 .Fn tcsetwinsize "int fd" "const struct winsize *sws"
 .Sh DESCRIPTION
@@ -97,7 +95,7 @@
 .Fn tcgetwinsize
 and
 .Fn tcsetwinsize
-return -1 and cause the global variable
+return \-1 and cause the global variable
 .Va errno
 to be set to indicate the error.
 Common errors are as follows:
@@ -143,10 +141,11 @@
 .Fn tcsetwinsize
 does not represent a terminal device capable
 of remembering a window size.
+.El
 .Sh SEE ALSO
 .Xr stty 1 ,
+.Xr pty 4 ,
 .Xr termios 4 ,
-.Xr pty 4 ,
 .Xr tty 4 ,
 .Xr signal 7
 .Sh STANDARDS



Home | Main Index | Thread Index | Old Index