Varie correzioni, completata revisione capitolo sull'I/O su file
[gapil.git] / sources / MQFortuneClient.c
index c001ea3f38e3f39f88cbf111d39f276d82e1dc7a..408eda49c7fe8b92ad39e64d617a0ba387069a15 100644 (file)
  *
  * Usage: fortune -h give all info
  *
- * $Id: MQFortuneClient.c,v 1.1 2002/10/20 22:42:48 piccardi Exp $
- *
  ****************************************************************/
 /* 
  * Include needed headers
  */
-#include <sys/types.h>   /* predefined types */
-#include <sys/stat.h>    /*  */
-#include <unistd.h>      /* include unix standard library */
-#include <stdio.h>       /* include standard I/O library */
-#include <stdlib.h>     /* standard library */
-#include <string.h>     /* ANSI C standard string */
-#include <errno.h>      /* errorstring */
-#include <signal.h>     /* signals */
-#include <sys/ipc.h>
-#include <sys/msg.h>
+#include <sys/types.h>   /* primitive system data types */
+#include <sys/stat.h>    /* file characteristics constants and functions */
+#include <unistd.h>      /* unix standard library */
+#include <stdio.h>       /* standard I/O library */
+#include <stdlib.h>     /* C standard library */
+#include <string.h>     /* C strings library */
+#include <errno.h>      /* error definitions and routines */
+#include <signal.h>     /* signal constants, types and functions */
+#include <sys/ipc.h>     /* SysV IPC functions */
+#include <sys/msg.h>     /* SysV message queues */
+
 
 #include "macros.h"
-#include "wrappers.h"
 
 /* Maximum message size */
 #define MSGMAX 8192