version 1.35, 2004/10/07 06:26:12 |
version 1.36, 2005/04/13 02:33:09 |
|
|
* command strchr |
* command strchr |
*/ |
*/ |
while (1) { |
while (1) { |
len = read(0, &ch, 1); |
len = read(STDIN_FILENO, &ch, 1); |
if (len == -1 && errno == EINTR) |
if (len == -1 && errno == EINTR) |
continue; |
continue; |
if (len == 0) |
if (len == 0) |
|
|
standout("Hit any key to continue: "); |
standout("Hit any key to continue: "); |
fflush(stdout); |
fflush(stdout); |
while (1) { |
while (1) { |
len = read(0, &ch, 1); |
len = read(STDIN_FILENO, &ch, 1); |
if (len == -1 && errno == EINTR) |
if (len == -1 && errno == EINTR) |
continue; |
continue; |
if (len == 0) |
if (len == 0) |
|
|
standout("Hit any key to continue: "); |
standout("Hit any key to continue: "); |
fflush(stdout); |
fflush(stdout); |
while (1) { |
while (1) { |
len = read(0, &ch, 1); |
len = read(STDIN_FILENO, &ch, 1); |
if (len == -1 && errno == EINTR) |
if (len == -1 && errno == EINTR) |
continue; |
continue; |
if (len == 0) |
if (len == 0) |