/* Close standard input and then wait a second, before exiting. */ #include #include #include int main() { close(0); sleep(1); exit(0); }