Due nuovi programmi per illustrare i semafori POSIX.
[gapil.git] / sources / Gapil.h
index e82e825fa22ce7b815ac8c99facefa24eade3149..b83fefd5a0a89c101ac906e20e5e1c6081743375 100644 (file)
@@ -132,9 +132,10 @@ int RemoveShm(char * shm_name);
  */
 int sockconn(char *host, char *serv, int prot, int type);
 int sockbind(char *host, char *serv, int prot, int type);
-int sockbind2(char *host, char *serv, int prot, int type);
+int sockbindopt(char *host, char *serv, int prot, int type, int reuse);
 
 /*
  * General purpose functions. See corresponding .c
  */
 int endian(void);
+int is_closing(int sock);