00001
00002
00003
00004
00005 #ifndef _LIB_H
00006 #define _LIB_H
00007
00008
00009 #define _POSIX_SOURCE 1
00010 #define _MINIX 1
00011
00012
00013 #include <minix/config.h>
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