1 .\"
2 .\" This file and its contents are supplied under the terms of the
3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
4 .\" You may only use this file in accordance with the terms of version
5 .\" 1.0 of the CDDL.
6 .\"
7 .\" A full copy of the text of the CDDL should have accompanied this
8 .\" source. A copy of the CDDL is also available via the Internet at
9 .\" http://www.illumos.org/license/CDDL.
10 .\"
11 .\"
12 .\" Copyright 2019, Joyent, Inc.
13 .\"
14 .Dd January 21, 2019
15 .Dt CFMAKERAW 3C
16 .Os
17 .Sh NAME
18 .Nm cfmakeraw
19 .Nd set raw I/O mode
20 .Sh SYNOPSIS
21 .In termios.h
22 .Ft void
23 .Fo cfmakeraw
24 .Fa "struct termios *termios_p"
25 .Fc
26 .Sh DESCRIPTION
27 The
28 .Fn cfmakeraw
29 function sets the flags in
30 .Fa termios_p
31 to disable all input and output processing.
32 .Pp
33 There is no effect on the terminal until a subsequent
34 successful call to
35 .Xr tcsetattr 3C
36 on the same
37 .Vt termios
38 structure.
39 .Sh INTERFACE STABILITY
40 Standard
41 .Sh MT-LEVEL
42 MT-Safe
43 .Pp
44 Async-Signal-Safe
45 .Sh SEE ALSO
46 .Xr tcsetattr 3C ,
47 .Xr attributes 4 ,
48 .Xr termio 7I