Debian Codegraph @

runtime/platform/solaris.h

raw symbols SCIP
1 #include <inttypes.h>
2 #include <stdint.h>
3 #include <fenv.h>
4
5 #include <unistd.h>
6
7 #include <dirent.h>
8 #include <fcntl.h>
9 #include <grp.h>
10 #include <netdb.h>
11 #include <netinet/in.h>
12 #include <netinet/tcp.h>
13 #include <netinet/udp.h>
14 #include <poll.h>
15 #include <pwd.h>
16 #include <sys/filio.h> /* For FIONBIO, FIONREAD. */
17 #include <sys/ioctl.h>
18 #include <sys/mman.h>
19 /* This is defined in <sys/mman.h>, bet we'll redefine it in export.h. */
20 #undef PRIVATE
21 #include <sys/resource.h>
22 #include <sys/socket.h>
23 #include <sys/sockio.h> /* For SIOCATMARK. */
24 #include <sys/stat.h>
25 #include <sys/time.h>
26 #include <sys/times.h>
27 #include <sys/un.h>
28 #include <sys/utsname.h>
29 #include <sys/wait.h>
30 #include <syslog.h>
31 #include <termios.h>
32 #include <utime.h>
33
34 #define HAS_FEROUND TRUE
35 #define HAS_MSG_DONTWAIT TRUE
36 #define HAS_REMAP FALSE
37 #define HAS_SHRINK_HEAP TRUE
38 #define HAS_SIGALTSTACK TRUE
39 #define NEEDS_SIGALTSTACK_EXEC FALSE
40 #define HAS_SPAWN FALSE
41 #define HAS_TIME_PROFILING TRUE
42
43 #define MLton_Platform_OS_host "solaris"
44
45 /* ------------------------------------------------- */
46 /* Posix.ProcEnv */
47 /* ------------------------------------------------- */
48
49 extern char **environ;
50
51 /* ------------------------------------------------- */
52 /* MLton.Syslog */
53 /* ------------------------------------------------- */
54
55 #ifndef LOG_AUTHPRIV
56 #define LOG_AUTHPRIV LOG_AUTH
57 #endif
58 #define LOG_PERROR 0