Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Application: basic-webserver, Helpers.h
- * Author: Project, UNX511, Team A
- * Description: Contains helper functions (header)
- * A webserver that has been coded from scratch.
- * It uses Linux's socket library to deal with connections.
- *
- * This application is licensed under Creative Commons - Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)
- * See this for more information: http://creativecommons.org/licenses/by-nc-sa/3.0/
- */
- #ifndef _INCL_HELPERS
- #define _INCL_HELPERS
- #include <csignal>
- #include <cstdlib>
- #include <cstdio>
- #include <unistd.h>
- void preventZombies();
- char* runCmd(const char* cmd);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement