Rev | Line | |
---|
[9] | 1 | /* The <lib.h> header is the master header used by the library.
|
---|
| 2 | * All the C files in the lib subdirectories include it.
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #ifndef _LIB_H
|
---|
| 6 | #define _LIB_H
|
---|
| 7 |
|
---|
| 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 */
|
---|
| 11 |
|
---|
| 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>
|
---|
| 15 | #include <limits.h>
|
---|
| 16 | #include <errno.h>
|
---|
| 17 | #include <ansi.h>
|
---|
| 18 |
|
---|
| 19 | #include <minix/const.h>
|
---|
| 20 | #include <minix/com.h>
|
---|
| 21 | #include <minix/type.h>
|
---|
| 22 | #include <minix/callnr.h>
|
---|
| 23 |
|
---|
| 24 | #include <minix/ipc.h>
|
---|
| 25 |
|
---|
| 26 | #define MM PM_PROC_NR
|
---|
| 27 | #define FS FS_PROC_NR
|
---|
| 28 |
|
---|
| 29 | _PROTOTYPE( int __execve, (const char *_path, char *const _argv[],
|
---|
| 30 | char *const _envp[], int _nargs, int _nenvps) );
|
---|
| 31 | _PROTOTYPE( int _syscall, (int _who, int _syscallnr, message *_msgptr) );
|
---|
| 32 | _PROTOTYPE( void _loadname, (const char *_name, message *_msgptr) );
|
---|
| 33 | _PROTOTYPE( int _len, (const char *_s) );
|
---|
| 34 | _PROTOTYPE( void _begsig, (int _dummy) );
|
---|
| 35 |
|
---|
| 36 | #endif /* _LIB_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.