blob: 7085bac6c58ed2584e6678bddd5cbe37e982ce9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef INPUT_H
#define INPUT_H
/* Functions for command-line user interaction. */
/* Prompt the user for yes or no (default is yes). Before calling, a prompt
* should be printed to stdout, eventually not with an ending newline. */
int prompt_yes_no(void);
void remove_ending_newline(char *str);
#endif
|