Module Name: src Committed By: wiz Date: Mon Oct 30 15:43:21 UTC 2017
Modified Files: src/lib/libc/termios: tcgetwinsize.3 Log Message: Remove empty Fd. Use minus for return value. End list. Sort SEE ALSO. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/termios/tcgetwinsize.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/termios/tcgetwinsize.3 diff -u src/lib/libc/termios/tcgetwinsize.3:1.1 src/lib/libc/termios/tcgetwinsize.3:1.2 --- src/lib/libc/termios/tcgetwinsize.3:1.1 Wed Oct 25 06:32:59 2017 +++ src/lib/libc/termios/tcgetwinsize.3 Mon Oct 30 15:43:21 2017 @@ -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 @@ If an error occurs, .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 @@ or .Fn tcsetwinsize does not represent a terminal device capable of remembering a window size. +.El .Sh SEE ALSO .Xr stty 1 , -.Xr termios 4 , .Xr pty 4 , +.Xr termios 4 , .Xr tty 4 , .Xr signal 7 .Sh STANDARDS