Module Name:    src
Committed By:   roy
Date:           Wed Jan 25 12:42:05 UTC 2017

Modified Files:
        src/lib/libcurses: curses.3 curses_tty.3

Log Message:
Document baudrate(3).


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 src/lib/libcurses/curses.3
cvs rdiff -u -r1.10 -r1.11 src/lib/libcurses/curses_tty.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/libcurses/curses.3
diff -u src/lib/libcurses/curses.3:1.70 src/lib/libcurses/curses.3:1.71
--- src/lib/libcurses/curses.3:1.70	Wed Jan 25 12:21:18 2017
+++ src/lib/libcurses/curses.3	Wed Jan 25 12:42:05 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: curses.3,v 1.70 2017/01/25 12:21:18 roy Exp $
+.\"	$NetBSD: curses.3,v 1.71 2017/01/25 12:42:05 roy Exp $
 .\"
 .\" Copyright (c) 1985, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -79,6 +79,7 @@ must be called before any of the other r
 .It attroff Ta Xr curses_attributes 3
 .It attron Ta Xr curses_attributes 3
 .It attrset Ta Xr curses_attributes 3
+.It baudrate Ta Xr curses_tty 3
 .It beep Ta Xr curses_tty 3
 .It bkgd Ta Xr curses_background 3
 .It bkgdset Ta Xr curses_background 3

Index: src/lib/libcurses/curses_tty.3
diff -u src/lib/libcurses/curses_tty.3:1.10 src/lib/libcurses/curses_tty.3:1.11
--- src/lib/libcurses/curses_tty.3:1.10	Sat Dec 31 22:47:01 2016
+++ src/lib/libcurses/curses_tty.3	Wed Jan 25 12:42:05 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: curses_tty.3,v 1.10 2016/12/31 22:47:01 roy Exp $
+.\"	$NetBSD: curses_tty.3,v 1.11 2017/01/25 12:42:05 roy Exp $
 .\"
 .\" Copyright (c) 2002
 .\"	Brett Lymn (bl...@netbsd.org, brett_l...@yahoo.com.au)
@@ -30,11 +30,12 @@
 .\" SUCH DAMAGE.
 .\"
 .\"
-.Dd December 31, 2016
+.Dd January 25, 2017
 .Dt CURSES_TTY 3
 .Os
 .Sh NAME
 .Nm curses_tty ,
+.Nm baudrate ,
 .Nm beep ,
 .Nm flash ,
 .Nm curs_set ,
@@ -74,6 +75,8 @@
 .Sh SYNOPSIS
 .In curses.h
 .Ft int
+.Fn baudrate "void"
+.Ft int
 .Fn beep "void"
 .Ft int
 .Fn flash "void"
@@ -143,6 +146,11 @@
 These functions manipulate curses terminal settings.
 .Pp
 The
+.Fn baudrate
+function extrats the output speed of the terminal
+and returns it in bits per second.
+.Pp
+The
 .Fn beep
 function rings the terminal bell, if this is possible.
 Failing that, the terminal screen will be flashed.

Reply via email to