Appendix A. Header Files

   


This appendix includes all the local header files for the source code in Linux Application Development.

 1: /* libhello.h */ 2: 3: #ifndef LIBHELLO_H_ 4: #define LIBHELLO_H_ 5: 6: void print_hello(void); 7: 8: #endif /* LIBHELLO_H_ */ 


 1: /* ptypair.h */ 2: 3: #ifndef _PTYPAIR_H 4: #define _PTYPAIR_H 5: int get_master_pty(char **name); 6: int get_slave_pty(char *name); 7: #endif /* _PTYPAIR_H */ 


 1: /* sockutil.h */ 2: 3: void die(char * message); 4: void copyData(int from, int to); 5: #ifndef CMSG_DATA 6: #define CMSG_DATA(cmsg) ((cmsg)->cmsg_data) 7: #endif 



       
    top
     


    Linux Application Development
    Linux Application Development (paperback) (2nd Edition)
    ISBN: 0321563220
    EAN: 2147483647
    Year: 2003
    Pages: 168

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net