| aug2006.tar |
Listing 1 my_ontape.c
/*
* Listing 1:
* my_ontape.c
* simply ask the user to press return
* to compile:
* cc my_ontape.c -o my_ontape
* execute with screen
* screen -S my_ontape /tmp/my_ontape
*/
#include <stdio.h>
int main()
{
char buffer[200];
printf("my_ontape: Press return to continue\n");
fgets(buffer, sizeof(buffer), stdin);
/* sleep emulates the archiving progressing */
sleep(60);
exit(0);
}
|