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
3.147.46.181