Create SFFS library out of HGFS
[minix.git] / include / lib.h
blob9932a4f015b15d5b931514cbb69a3b0f2c3ad256
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 */
5 #ifndef _LIB_H
6 #define _LIB_H
8 /* First come the defines. */
9 #ifdef __NBSD_LIBC
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 */
13 #endif
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>
20 #include <limits.h>
21 #include <errno.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);
38 #endif /* _LIB_H */