[PATCH] getty: Wait until all output written to stdout hasbeentransmitted

Cathey, Jim jcathey at ciena.com
Tue Jan 25 02:26:07 UTC 2011


>sleep(1) isn't sleep for 1 second, it's sleep for 1 milisecond.

Que?  man 3 sleep

SLEEP(3)                   Linux Programmer's Manual
SLEEP(3)

NAME
       sleep - Sleep for the specified number of seconds

SYNOPSIS
       #include <unistd.h>

       unsigned int sleep(unsigned int seconds);

DESCRIPTION
       sleep()  makes  the  calling  process  sleep until seconds
seconds have
       elapsed or a signal arrives which is not ignored.

...



More information about the busybox mailing list