Searched defs:need_nl (Results 1 - 3 of 3) sorted by relevance
/systemd/src/test/ |
H A D | test-terminal-util.c | 49 bool need_nl; local 60 assert_se(read_one_char(file, &r, 1000000, &need_nl) >= 0); 61 assert_se(!need_nl); 63 assert_se(read_one_char(file, &r, 1000000, &need_nl) < 0); 68 assert_se(read_one_char(file, &r, 1000000, &need_nl) < 0); 73 assert_se(read_one_char(file, &r, 1000000, &need_nl) < 0);
|
/systemd/src/basic/ |
H A D | terminal-util.c | 85 int read_one_char(FILE *f, char *ret, usec_t t, bool *need_nl) { argument 116 if (need_nl) 117 *need_nl = c != '\n'; 138 if (need_nl) 139 *need_nl = false; 155 bool need_nl = true; local 169 r = read_one_char(stdin, &c, USEC_INFINITY, &need_nl); 181 if (need_nl)
|
/systemd/src/firstboot/ |
H A D | firstboot.c | 61 bool need_nl = true; local 66 (void) read_one_char(stdin, &k, USEC_INFINITY, &need_nl); 68 if (need_nl)
|
Completed in 21 milliseconds