|
C-Menu 0.2.9
A User Interface Toolkit
|
Enter a string from keyboard. More...
#include <cm.h>#include <stdbool.h>#include <stdio.h>#include <string.h>#include <sys/ioctl.h>#include <termios.h>#include <unistd.h>Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
| allows the user to enter a string in cooked mode | |
| int main | ( | int | argc, |
| char ** | argv ) |
allows the user to enter a string in cooked mode
allows line editing and other features writes the prompt to stderr and the user's input to stdout handles signals to ensure that the terminal settings are restored if the program is interrupted.
Definition at line 32 of file enterstr.c.
References capture_shell_tioctl(), restore_shell_tioctl(), shell_tioctl, sig_dfl_mode(), and sig_prog_mode().