Skip to content
Commit 3cbaacdf authored by Carlos O'Donell's avatar Carlos O'Donell
Browse files

manual: Fix termios.c example. (Bug 31078)



Remove the unused 'char *name;' from the example.

Use write instead of putchar to write input as it is read.

Example tested on x86_64 by compiling and running the example.

Tested by building the manual pdf and reviewing the results.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
parent a8830c92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment