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!"
35#define S_IRUSR S_IREAD
36#define S_IWUSR S_IWRITE
74typedef unsigned short mode_t;
80typedef uint32_t pid_t;
84#define STDOUT_FILENO 1
85#define STDERR_FILENO 2
92inline int unlockpt(
int fd) { LLVM_BUILTIN_UNREACHABLE; }
93inline int grantpt(
int fd) { LLVM_BUILTIN_UNREACHABLE; }
94inline char *
ptsname(
int fd) { LLVM_BUILTIN_UNREACHABLE; }
96inline pid_t
fork(
void) { LLVM_BUILTIN_UNREACHABLE; }
97inline pid_t
setsid(
void) { LLVM_BUILTIN_UNREACHABLE; }
int posix_openpt(int flag)