Document baudrate(3).
This commit is contained in:
parent
1899e6576b
commit
2ebbf64e54
|
@ -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 routines that deal with color are used.
|
|||
.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
|
||||
|
|
|
@ -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 (blymn@NetBSD.org, brett_lymn@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.
|
||||
|
|
Loading…
Reference in New Issue