libexplain
1.4.D001
|
Go to the source code of this file.
Functions | |
void | explain_tcgetattr_or_die (int fildes, struct termios *data) |
void explain_tcgetattr_or_die | ( | int | fildes, |
struct termios * | data | ||
) |
The explain_tcgetattr_or_die function is used to call the tcgetattr(3) system call. On failure an explanation will be printed to stderr, obtained from the explain_tcgetattr(3) function, and then the process terminates by calling exit(EXIT_FAILURE)
.
fildes | The fildes, exactly as to be passed to the tcgetattr(3) system call. |
data | The data, exactly as to be passed to the tcgetattr(3) system call. |
explain_tcgetattr_or_die(fildes, data);
Definition at line 24 of file tcgetattr_or_die.c.