-/* myhost.c
+/* mygethost.c
*
* Copyright (C) 2004 Simone Piccardi
*
*/
/*****************************************************************************
*
- * File myhost.c: An example host command
+ * File mygethost.c: An example host command
*
* Author: S. Piccardi Jul. 2004
*
- * $Id: myhost.c,v 1.1 2004/07/03 22:53:13 piccardi Exp $
+ * $Id$
*
*****************************************************************************/
#include <netdb.h>
* routine to print usage info and exit
*/
void usage(void) {
- printf("Program myhost: do an hostname resolution \n");
+ printf("Program mygethost: do an hostname resolution \n");
printf("Usage:\n");
- printf(" myhost [-h] hostname \n");
- printf(" -h print this help\n");
+ printf(" mygethost [-h] hostname \n");
+ printf(" -h print this help\n");
exit(1);
}