projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Spostamento di myhost.c in mygethost.c
[gapil.git]
/
sources
/
myhost.c
diff --git
a/sources/myhost.c
b/sources/myhost.c
index eeb2e6925ca6d1f50e1e98011494c6c70cd9e1ce..76cf84477eb5edd568c52c40bf3d6199b30dfb1a 100644
(file)
--- a/
sources/myhost.c
+++ b/
sources/myhost.c
@@
-1,4
+1,4
@@
-/* myhost.c
+/* my
get
host.c
*
* Copyright (C) 2004 Simone Piccardi
*
*
* Copyright (C) 2004 Simone Piccardi
*
@@
-18,11
+18,11
@@
*/
/*****************************************************************************
*
*/
/*****************************************************************************
*
- * File myhost.c: An example host command
+ * File my
get
host.c: An example host command
*
* Author: S. Piccardi Jul. 2004
*
*
* Author: S. Piccardi Jul. 2004
*
- * $Id
: myhost.c,v 1.1 2004/07/03 22:53:13 piccardi Exp
$
+ * $Id$
*
*****************************************************************************/
#include <netdb.h>
*
*****************************************************************************/
#include <netdb.h>
@@
-117,9
+117,9
@@
int main(int argc, char *argv[])
* routine to print usage info and exit
*/
void usage(void) {
* routine to print usage info and exit
*/
void usage(void) {
- printf("Program myhost: do an hostname resolution \n");
+ printf("Program my
get
host: do an hostname resolution \n");
printf("Usage:\n");
printf("Usage:\n");
- printf(" myhost [-h] hostname \n");
- printf(" -h
print this help\n");
+ printf(" my
get
host [-h] hostname \n");
+ printf(" -h print this help\n");
exit(1);
}
exit(1);
}