*
* Author: S. Piccardi
*
- * $Id: wrappers.h,v 1.1 2001/03/05 22:20:08 piccardi Exp $
+ * $Id: wrappers.h,v 1.3 2002/08/18 23:24:44 piccardi Exp $
*
***************************************************************/
#include <sys/sem.h> /* IPC semaphore declarations */
* Return: the previous sigaction structure
*/
typedef void SigFunc(int);
-SigFunc * Signal(int signo, SigFunc *func)
+inline SigFunc * Signal(int signo, SigFunc *func)
{
struct sigaction new_handl, old_handl;
new_handl.sa_handler=func;
return (old_handl.sa_handler);
}
+/**
+ ** Defining prototypes for the all other functions
+ **/
+ssize_t SockRead(int fd, void *buf, size_t count);
+ssize_t SockWrite(int fd, const void *buf, size_t count);
+
+void HandSIGCHLD(int sig);