#include <unistd.h> int getopt ( int argc, char * const argv[], const char *optstring ); extern char * optarg; extern int optopt , optind; #include <getopt.h> int getopt_long ( int argc, char * const argv[], const char *optsring, const struct option *longopts, int *longindex ); extern char * optarg extern int optopt , optind; #include <time.h> time_t time ( time_t *t ); struct tm * localtime ( const time_t *timep ); struct tm * gmtime ( const time_t *timep ); char * asctime ( const struct tm *tm ); char * ctime ( const time_t *timepDay ); time_t mktime ( struct tm *tm ); #include <sys/mman.h> void * mmap ( void *start, size_t length, int prot, int flags, int fd, off_t offset ); int munmap ( void *start, size_t length ); int mlock ( const void *addr, size_t len ); int munlock ( const void *addr, size_t len ); int mlockall ( int flags ); int munlockall ( void );