Mention that cfmakeraw needs an initialized termios structure.

Addresses PR 25371.
This commit is contained in:
wiz 2004-05-01 08:15:54 +00:00
parent 7383a5157d
commit fde70892d3

View File

@ -1,4 +1,4 @@
.\" $NetBSD: tcsetattr.3,v 1.11 2003/08/07 16:44:14 agc Exp $ .\" $NetBSD: tcsetattr.3,v 1.12 2004/05/01 08:15:54 wiz Exp $
.\" .\"
.\" Copyright (c) 1991, 1993 .\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -29,7 +29,7 @@
.\" .\"
.\" @(#)tcsetattr.3 8.3 (Berkeley) 1/2/94 .\" @(#)tcsetattr.3 8.3 (Berkeley) 1/2/94
.\" .\"
.Dd January 2, 1994 .Dd May 1, 2004
.Dt TCSETATTR 3 .Dt TCSETATTR 3
.Os .Os
.Sh NAME .Sh NAME
@ -179,8 +179,9 @@ file descriptor.
.Pp .Pp
The The
.Nm cfmakeraw .Nm cfmakeraw
function sets the flags stored in the termios structure to a state disabling function sets the flags stored in the termios structure (initialized by
all input and output processing, giving a .Nm tcgetattr )
to a state disabling all input and output processing, giving a
.Dq raw I/O path . .Dq raw I/O path .
It should be noted that there is no function to reverse this effect. It should be noted that there is no function to reverse this effect.
This is because there are a variety of processing options that could be This is because there are a variety of processing options that could be