1 /* The <lib.h> header is the master header used by the library.
2 * All the C files in the lib subdirectories include it.
8 /* First come the defines. */
9 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
10 #define _MINIX 1 /* tell headers to include MINIX stuff */
12 /* The following are so basic, all the lib files get them automatically. */
13 #include <minix/config.h> /* must be first */
14 #include <sys/types.h>
19 #include <minix/const.h>
20 #include <minix/type.h>
21 #include <minix/callnr.h>
28 _PROTOTYPE( int __execve, (char *_path, char **_argv, char **_envp,
29 int _nargs, int _nenvps) );
30 _PROTOTYPE( int _callm1, (int _proc, int _syscallnr,
31 int _int1, int _int2, int _int3,
32 char *_ptr1, char *_ptr2, char *_ptr3) );
33 _PROTOTYPE( int _callm3, (int _proc, int _syscallnr, int _int1,
35 _PROTOTYPE( int _callx, (int _proc, int _syscallnr) );
36 _PROTOTYPE( int _len, (const char *_s) );
37 _PROTOTYPE( void panic, (const char *_message, int _errnum) );
38 _PROTOTYPE( int _sendrec, (int _src_dest, message *_m_ptr) );
39 _PROTOTYPE( void _begsig, (int _dummy) );