Merge branch 'master' of ssh://gapil.gnulinux.it/srv/git/gapil
[gapil.git] / sources / ErrCode.c
index b59da7fcec9427d5b0cbbaf9ed488c0b3027ffd9..daa09ccf43079d91db217efc2be21e1a8e30209a 100644 (file)
@@ -26,8 +26,6 @@
  *
  * Usage: errcode -h give all info's
  *
- * $Id: ErrCode.c,v 1.5 2002/12/03 11:06:05 piccardi Exp $ 
- *
  ****************************************************************/
 /* 
  * Include needed headers
@@ -36,8 +34,8 @@
 #include <stdlib.h>      /* C standard library */
 #include <unistd.h>      /* unix standard library */
 #include <stdio.h>      /* standard I/O library */
-#include <string.h>      /* string functions */
-#include <limits.h>      /* system limits values */
+#include <string.h>      /* C strings library */
+#include <limits.h>      /* system limits constants, types and functions */
 
 /* Help printing routine */
 void usage(void);
@@ -247,7 +245,7 @@ int main(int argc, char *argv[])
 void usage(void) {
     printf("Print error code message or macro label \n");
     printf("Usage:\n");
-    printf("  daytime [-h] [-l] [-m] error code \n");
+    printf("  errcode [-h] [-l] [-m] error code \n");
     printf("  -m          print error messages\n");
     printf("  -l          print error code label\n");
     printf("  -h          print this help\n");