LLDB  mainline
Macros | Functions
windows/PosixApi.h File Reference
#include "llvm/Support/Compiler.h"
#include <stdarg.h>
#include <time.h>
Include dependency graph for windows/PosixApi.h:
This graph shows which files directly or indirectly include this file:

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_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 vasprintf (char **ret, const char *fmt, va_list ap)
 
char * strcasestr (const char *s, const char *find)
 
char * realpath (const char *name, char *resolved)
 
int usleep (uint32_t useconds)
 
char * basename (char *path)
 
char * dirname (char *path)
 
int strcasecmp (const char *s1, const char *s2)
 
int strncasecmp (const char *s1, const char *s2, size_t n)
 
int posix_openpt (int flag)
 
int strerror_r (int errnum, char *buf, size_t buflen)
 
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

◆ O_NONBLOCK

#define O_NONBLOCK   0

◆ PATH_MAX

#define PATH_MAX   32768

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

Referenced by CommandObjectTargetSymbolsAdd::AddModuleSymbols(), lldb_private::Process::Attach(), lldb::SBTarget::ClearModuleLoadAddress(), SymbolVendorMacOSX::CreateInstance(), DiskFilesOrDirectories(), CommandObjectLogEnable::DoExecute(), CommandObjectTargetCreate::DoExecute(), CommandObjectProcessAttach::DoExecute(), CommandObjectTargetModulesLoad::DoExecute(), DumpTargetInfo(), EnumerateDirectoryCallback(), lldb::SBFileSpecList::GetDescription(), lldb::SBDeclaration::GetDescription(), lldb::SBLineEntry::GetDescription(), lldb::SBFileSpec::GetDescription(), lldb::SBProcess::GetDescription(), lldb_private::Module::GetDescription(), lldb_private::SymbolContextSpecifier::GetDescription(), PlatformDarwin::GetDeveloperDirectory(), PlatformRemoteDarwinDevice::GetDeviceSupportDirectoryForOSVersion(), lldb_private::platform_android::PlatformAndroid::GetFile(), lldb_private::File::GetFileSpec(), lldb_private::HostInfoPosix::GetHostname(), lldb_private::HostProcessWindows::GetMainModule(), lldb_private::HostProcessPosix::GetMainModule(), GetModuleSpecInfoFromUUIDDictionary(), lldb_private::HostInfoMacOSX::GetOSBuildString(), lldb_private::HostInfoMacOSX::GetOSKernelDescription(), GetProcessAndStatInfo(), lldb_private::HostInfoMacOSX::GetProgramFileSpec(), lldb_private::HostInfoLinux::GetProgramFileSpec(), lldb_private::HostInfoWindows::GetProgramFileSpec(), PlatformAppleTVSimulator::GetSDKDirectoryAsCString(), PlatformAppleWatchSimulator::GetSDKDirectoryAsCString(), PlatformiOSSimulator::GetSDKDirectoryAsCString(), PlatformRemoteDarwinDevice::GetSharedModule(), PlatformDarwin::GetSharedModule(), lldb_private::ModuleList::GetSharedModule(), PlatformRemoteDarwinDevice::GetSymbolFile(), PlatformAppleTVSimulator::GetSymbolFile(), PlatformAppleWatchSimulator::GetSymbolFile(), PlatformiOSSimulator::GetSymbolFile(), HexagonDYLDRendezvous::HexagonDYLDRendezvous(), lldb_private::PluginManager::Initialize(), lldb_private::Debugger::InstanceInitialize(), lldb_private::Process::Launch(), lldb_private::darwin_process_launcher::LaunchInferior(), LaunchInNewTerminalWithAppleScript(), lldb_private::ProcessLauncherPosixFork::LaunchProcess(), LocateMacOSXFilesUsingDebugSymbols(), OperatingSystemPython::OperatingSystemPython(), ObjectFileMachO::ParseSymtab(), DynamicLoaderMacOSXDYLD::ReadImageInfos(), lldb_private::FileSystem::Readlink(), realpath(), lldb_private::PlatformWindows::ResolveExecutable(), PlatformPOSIX::ResolveExecutable(), lldb_private::darwin_process_launcher::ResolveExecutablePath(), lldb_private::FileSystem::ResolveSymbolicLink(), lldb_private::platform_android::AdbClient::SetPortForwarding(), ShouldLaunchUsingXPC(), lldb_private::CommandInterpreter::SourceInitFile(), lldb_private::process_gdb_remote::GDBRemoteCommunication::StartDebugserverProcess(), lldb::SBThread::StepOverUntil(), PlatformRemoteDarwinDevice::UpdateSDKDirectoryInfosIfNeeded(), and lldb_private::TargetList::~TargetList().

◆ S_IRGRP

#define S_IRGRP   0 /* read, group */

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

Referenced by GetOpenMode().

◆ S_IROTH

#define S_IROTH   0 /* read, others */

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

Referenced by GetOpenMode().

◆ S_IRWXG

#define S_IRWXG   0

◆ S_IRWXO

#define S_IRWXO   0

◆ S_IRWXU

#define S_IRWXU   0

◆ S_IWGRP

#define S_IWGRP   0 /* write, group */

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

Referenced by GetOpenMode().

◆ S_IWOTH

#define S_IWOTH   0 /* write, others */

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

Referenced by GetOpenMode().

◆ S_IXGRP

#define S_IXGRP   0 /* execute, group */

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

Referenced by GetOpenMode().

◆ S_IXOTH

#define S_IXOTH   0 /* execute, others */

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

Referenced by GetOpenMode().

◆ SIGKILL

#define SIGKILL   9

◆ SIGSTOP

#define SIGSTOP   20

◆ SIGTRAP

#define SIGTRAP   5

Function Documentation

◆ basename()

char* basename ( char *  path)

◆ dirname()

char* dirname ( char *  path)

◆ 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 99 of file windows/PosixApi.h.

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

◆ realpath()

char* realpath ( const char *  name,
char *  resolved 
)

◆ setsid()

pid_t setsid ( void  )
inline

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

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

◆ strcasecmp()

int strcasecmp ( const char *  s1,
const char *  s2 
)

◆ strcasestr()

char* strcasestr ( const char *  s,
const char *  find 
)

◆ strerror_r()

int strerror_r ( int  errnum,
char *  buf,
size_t  buflen 
)
inline

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

◆ strncasecmp()

int strncasecmp ( const char *  s1,
const char *  s2,
size_t  n 
)

◆ unlockpt()

int unlockpt ( int  fd)
inline

◆ usleep()

int usleep ( uint32_t  useconds)

◆ vasprintf()

int vasprintf ( char **  ret,
const char *  fmt,
va_list  ap 
)