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. */
10 #include <sys/featuretest.h> /* tell headers to include NetBSD stuff. */
11 #else /* !__NBSD_LIBC */
12 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
15 #define _MINIX 1 /* tell headers to include MINIX stuff */
17 /* The following are so basic, all the lib files get them automatically. */
18 #include <minix/config.h> /* must be first */
19 #include <minix/types.h>
23 #include <minix/const.h>
24 #include <minix/com.h>
25 #include <minix/type.h>
26 #include <minix/callnr.h>
28 #include <minix/ipc.h>
31 int __execve(const char *_path
, char *const _argv
[], char *const
32 _envp
[], int _nargs
, int _nenvps
);
33 int _syscall(endpoint_t _who
, int _syscallnr
, message
*_msgptr
);
34 void _loadname(const char *_name
, message
*_msgptr
);
35 int _len(const char *_s
);
36 void _begsig(int _dummy
);