Set the entire local mode word
#include <sys/ioctl.h>
#define TIOCLSET _IOW('t', 125, int)
| Argument | Value |
|---|---|
| fd | A file descriptor that you obtained by opening the device |
| request | TIOCLSET |
| Additional argument | A pointer to an int |
This command sets the entire local mode word. It's implemented as a call to tcgetattr() to get the current settings, followed by a call to tcsetattr() to replace the local modes with the bits given.
The new bit settings; a combination of zero or more of the following:
These are the same bits that appear in the c_lflag member of the termios structure.
None.