lib.h

Go to the documentation of this file.
00001 /* The <lib.h> header is the master header used by the library.
00002  * All the C files in the lib subdirectories include it.
00003  */
00004 
00005 #ifndef _LIB_H
00006 #define _LIB_H
00007 
00008 /* First come the defines. */
00009 #define _POSIX_SOURCE      1    /* tell headers to include POSIX stuff */
00010 #define _MINIX             1    /* tell headers to include MINIX stuff */
00011 
00012 /* The following are so basic, all the lib files get them automatically. */
00013 #include <minix/config.h>       /* must be first */
00014 #include <sys/types.h>
00015 #include <limits.h>
00016 #include <errno.h>
00017 #include <ansi.h>
00018 
00019 #include <minix/const.h>
00020 #include <minix/com.h>
00021 #include <minix/type.h>
00022 #include <minix/callnr.h>
00023 
00024 #include <minix/ipc.h>
00025 
00026 #define MM                 PM_PROC_NR
00027 #define FS                 FS_PROC_NR
00028 
00029 _PROTOTYPE( int __execve, (const char *_path, char *const _argv[], 
00030                         char *const _envp[], int _nargs, int _nenvps)   );
00031 _PROTOTYPE( int _syscall, (int _who, int _syscallnr, message *_msgptr)  );
00032 _PROTOTYPE( void _loadname, (const char *_name, message *_msgptr)       );
00033 _PROTOTYPE( int _len, (const char *_s)                                  );
00034 _PROTOTYPE( void _begsig, (int _dummy)                                  );
00035 
00036 #endif /* _LIB_H */

Generated on Fri Apr 14 22:57:20 2006 for minix by  doxygen 1.4.6