9 #ifndef liblldb_Host_windows_PosixApi_h
10 #define liblldb_Host_windows_PosixApi_h
12 #include "lldb/Host/Config.h"
13 #include "llvm/Support/Compiler.h"
15 #error "windows/PosixApi.h being #included on non Windows system!"
25 #define PATH_MAX 32768
35 #define S_IRUSR S_IREAD
36 #define S_IWUSR S_IWRITE
63 #include <sys/types.h>
74 typedef unsigned short mode_t;
83 #define STDIN_FILENO 0
84 #define STDOUT_FILENO 1
85 #define STDERR_FILENO 2
92 inline int unlockpt(
int fd) { LLVM_BUILTIN_UNREACHABLE; }
93 inline int grantpt(
int fd) { LLVM_BUILTIN_UNREACHABLE; }
94 inline char *
ptsname(
int fd) { LLVM_BUILTIN_UNREACHABLE; }
96 inline pid_t fork(
void) { LLVM_BUILTIN_UNREACHABLE; }