LLDB mainline
Macros | Functions
windows/PosixApi.h File Reference
#include "lldb/Host/Config.h"
#include "llvm/Support/Compiler.h"
#include <cstdarg>
#include <ctime>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define PATH_MAX   32768
 
#define O_NOCTTY   0
 
#define O_NONBLOCK   0
 
#define SIGTRAP   5
 
#define SIGKILL   9
 
#define SIGSTOP   20
 
#define S_IRUSR   S_IREAD /* read, user */
 
#define S_IWUSR   S_IWRITE /* write, user */
 
#define S_IXUSR   0 /* execute, user */
 
#define S_IRGRP   0 /* read, group */
 
#define S_IWGRP   0 /* write, group */
 
#define S_IXGRP   0 /* execute, group */
 
#define S_IROTH   0 /* read, others */
 
#define S_IWOTH   0 /* write, others */
 
#define S_IXOTH   0 /* execute, others */
 
#define S_IRWXU   0
 
#define S_IRWXG   0
 
#define S_IRWXO   0
 

Functions

int posix_openpt (int flag)
 
int unlockpt (int fd)
 
int grantpt (int fd)
 
char * ptsname (int fd)
 
pid_t fork (void)
 
pid_t setsid (void)
 

Macro Definition Documentation

◆ O_NOCTTY

#define O_NOCTTY   0

Definition at line 28 of file windows/PosixApi.h.

◆ O_NONBLOCK

#define O_NONBLOCK   0

Definition at line 29 of file windows/PosixApi.h.

◆ PATH_MAX

#define PATH_MAX   32768

Definition at line 25 of file windows/PosixApi.h.

◆ S_IRGRP

#define S_IRGRP   0 /* read, group */

Definition at line 40 of file windows/PosixApi.h.

◆ S_IROTH

#define S_IROTH   0 /* read, others */

Definition at line 45 of file windows/PosixApi.h.

◆ S_IRUSR

#define S_IRUSR   S_IREAD /* read, user */

Definition at line 35 of file windows/PosixApi.h.

◆ S_IRWXG

#define S_IRWXG   0

Definition at line 53 of file windows/PosixApi.h.

◆ S_IRWXO

#define S_IRWXO   0

Definition at line 56 of file windows/PosixApi.h.

◆ S_IRWXU

#define S_IRWXU   0

Definition at line 50 of file windows/PosixApi.h.

◆ S_IWGRP

#define S_IWGRP   0 /* write, group */

Definition at line 41 of file windows/PosixApi.h.

◆ S_IWOTH

#define S_IWOTH   0 /* write, others */

Definition at line 46 of file windows/PosixApi.h.

◆ S_IWUSR

#define S_IWUSR   S_IWRITE /* write, user */

Definition at line 36 of file windows/PosixApi.h.

◆ S_IXGRP

#define S_IXGRP   0 /* execute, group */

Definition at line 42 of file windows/PosixApi.h.

◆ S_IXOTH

#define S_IXOTH   0 /* execute, others */

Definition at line 47 of file windows/PosixApi.h.

◆ S_IXUSR

#define S_IXUSR   0 /* execute, user */

Definition at line 37 of file windows/PosixApi.h.

◆ SIGKILL

#define SIGKILL   9

Definition at line 31 of file windows/PosixApi.h.

◆ SIGSTOP

#define SIGSTOP   20

Definition at line 32 of file windows/PosixApi.h.

◆ SIGTRAP

#define SIGTRAP   5

Definition at line 30 of file windows/PosixApi.h.

Function Documentation

◆ fork()

pid_t fork ( void  )
inline

◆ grantpt()

int grantpt ( int  fd)
inline

◆ posix_openpt()

int posix_openpt ( int  flag)
inline

◆ ptsname()

char * ptsname ( int  fd)
inline

Definition at line 94 of file windows/PosixApi.h.

Referenced by use_ptsname().

◆ setsid()

pid_t setsid ( void  )
inline

Definition at line 97 of file windows/PosixApi.h.

Referenced by lldb_private::PseudoTerminal::Fork().

◆ unlockpt()

int unlockpt ( int  fd)
inline