diff options
Diffstat (limited to 'util.h')
| -rw-r--r-- | util.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| @@ -5,3 +5,7 @@ char* copy_buf(char *buf,int len);  char* copy_str(char *str);  void str_toupper(char *str); + +// Returns -1 on error, 0 on success +int sendall(int sock,const char *buf,ssize_t len); +int sendallf(int sock,const char *format,...) __attribute__((format (printf, 2, 3))); | 
