/* * The following program sleeps for the * number of seconds specified in argv[1]. */ #include #include void main( int argc, char *argv[] ) { unsigned seconds; seconds = (unsigned) strtol( argv[1], NULL, 0 ); sleep( seconds ); }