Advertisement
Guest User

Untitled

a guest
Feb 7th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. /**
  2.  * Application: basic-webserver, Helpers.h
  3.  * Author: Project, UNX511, Team A
  4.  * Description: Contains helper functions (header)
  5.  * A webserver that has been coded from scratch.
  6.  * It uses Linux's socket library to deal with connections.
  7.  *
  8.  * This application is licensed under Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)
  9.  * See this for more information: http://creativecommons.org/licenses/by-nc-sa/3.0/
  10.  */
  11.  
  12. #ifndef _INCL_HELPERS
  13. #define _INCL_HELPERS
  14.  
  15. #include <csignal>
  16. #include <cstdlib>
  17. #include <cstdio>
  18.  
  19. #include <unistd.h>
  20.  
  21. void preventZombies();
  22. char* runCmd(const char* cmd);
  23.  
  24. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement