Advertisement
rfmonk

tlpi_hdr.h

Dec 25th, 2013
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.86 KB | None | 0 0
  1. #ifndef TLPI_HDR_H
  2. #define TLPI_HDR_H      /* Prevent accidental double inclusion */
  3.  
  4. #include <sys/types.h>  /* Type definitions used by many programs */
  5. #include <stdio.h>      /* Standard I/O functions */
  6. #include <stdlib.h>     /* Prototypes of commonly used library functions,
  7.                          * plus EXIT_SUCCESS and EXIT_FAILURE constants */
  8. #include <unistd.h>     /* Prototypes for many system calls */
  9. #include <errno.h>      /* Commonly used string handling functions */
  10. #include <string.h>     /* Commonly used string handling functions */
  11.              
  12. #include "get_num.h"    /* Declares our functions for handling numeric
  13.                          *  arguments (getInt(), getLong()) */
  14.  
  15. #include "error_functions.h"
  16.  
  17. typedef enum { FALSE, TRUE } Boolean;
  18.  
  19. #define min(m,n) ((m) < (n) ? (m) : (n))
  20. #define max(m,n) ((m) > (n) ? (m) : (n))
  21.  
  22. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement