* routine to print usage info and exit
*/
void usage(void) {
- printf("Program testlinkat : test fopen for a file \n");
+ printf("Program testlinkat : test linkat for a file \n");
printf("Usage:\n");
- printf(" testfopen [-h] file mode \n");
+ printf(" testlinkat [-h] file mode \n");
printf(" -h print this help\n");
+ printf(" -w [N] wait N seconds\n");
+ printf(" -f [file] use file as source\n");
exit(1);
}