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