#include "ace/config-all.h"
#include "ace/Time_Value.h"
#include "ace/Basic_Types.h"
#include "ace/os_include/os_unistd.h"
#include "ace/os_include/os_stdio.h"
#include "ace/OS_NS_unistd.inl"
Namespaces | |
namespace | ACE_OS |
Defines | |
#define | ACE_EXPORT_MACRO ACE_Export |
#define | ACE_INLINE inline |
Functions | |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::access (const char *path, int amode) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::access (const wchar_t *path, int amode) |
ACE_NAMESPACE_INLINE_FUNCTION unsigned int | ACE_OS::alarm (u_int secs) |
ACE_NAMESPACE_INLINE_FUNCTION long | ACE_OS::allocation_granularity (void) |
int | ACE_OS::argv_to_string (int argc, ACE_TCHAR **argv, ACE_TCHAR *&buf, bool substitute_env_args, bool quote_args) |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL int | ACE_OS::argv_to_string (ACE_TCHAR **argv, ACE_TCHAR *&buf, bool substitute_env_args, bool quote_args) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::chdir (const char *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::chdir (const wchar_t *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::rmdir (const char *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::rmdir (const wchar_t *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::close (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | ACE_OS::dup (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::dup2 (ACE_HANDLE oldfd, ACE_HANDLE newfd) |
int | ACE_OS::execl (const char *, const char *,...) |
int | ACE_OS::execle (const char *, const char *,...) |
int | ACE_OS::execlp (const char *, const char *,...) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::execv (const char *path, char *const argv[]) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::execve (const char *path, char *const argv[], char *const envp[]) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::execvp (const char *file, char *const argv[]) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::fsync (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::ftruncate (ACE_HANDLE handle, ACE_OFF_T offset) |
ACE_NAMESPACE_INLINE_FUNCTION char * | ACE_OS::getcwd (char *, size_t) |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | ACE_OS::getcwd (wchar_t *, size_t) |
ACE_NAMESPACE_INLINE_FUNCTION gid_t | ACE_OS::getgid (void) |
ACE_NAMESPACE_INLINE_FUNCTION gid_t | ACE_OS::getegid (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::getopt (int argc, char *const *argv, const char *optstring) |
ACE_NAMESPACE_INLINE_FUNCTION long | ACE_OS::getpagesize (void) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | ACE_OS::getpgid (pid_t pid) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | ACE_OS::getpid (void) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | ACE_OS::getppid (void) |
ACE_NAMESPACE_INLINE_FUNCTION uid_t | ACE_OS::getuid (void) |
ACE_NAMESPACE_INLINE_FUNCTION uid_t | ACE_OS::geteuid (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::hostname (char *name, size_t maxnamelen) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::hostname (wchar_t *name, size_t maxnamelen) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::isatty (int handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::isatty (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_OFF_T | ACE_OS::lseek (ACE_HANDLE handle, ACE_OFF_T offset, int whence) |
long | ACE_OS::num_processors (void) |
Get the number of CPUs configured in the machine. | |
long | ACE_OS::num_processors_online (void) |
Get the number of CPUs currently online. | |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::pipe (ACE_HANDLE handles[]) |
ssize_t | ACE_OS::pread (ACE_HANDLE handle, void *buf, size_t nbytes, ACE_OFF_T offset) |
ssize_t | ACE_OS::pwrite (ACE_HANDLE handle, const void *buf, size_t nbytes, ACE_OFF_T offset) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | ACE_OS::read (ACE_HANDLE handle, void *buf, size_t len) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | ACE_OS::read (ACE_HANDLE handle, void *buf, size_t len, ACE_OVERLAPPED *) |
ssize_t | ACE_OS::read_n (ACE_HANDLE handle, void *buf, size_t len, size_t *bt) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | ACE_OS::readlink (const char *path, char *buf, size_t bufsiz) |
ACE_NAMESPACE_INLINE_FUNCTION void * | ACE_OS::sbrk (intptr_t brk) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setgid (gid_t) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setegid (gid_t) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setpgid (pid_t pid, pid_t pgid) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setregid (gid_t rgid, gid_t egid) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setreuid (uid_t ruid, uid_t euid) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | ACE_OS::setsid (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setuid (uid_t) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::seteuid (uid_t) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::sleep (u_int seconds) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::sleep (const ACE_Time_Value &tv) |
int | ACE_OS::string_to_argv (ACE_TCHAR *buf, int &argc, ACE_TCHAR **&argv, bool substitute_env_args) |
ACE_NAMESPACE_INLINE_FUNCTION void | ACE_OS::swab (const void *src, void *dest, ssize_t n) |
ACE_NAMESPACE_INLINE_FUNCTION long | ACE_OS::sysconf (int) |
ACE_NAMESPACE_INLINE_FUNCTION long | ACE_OS::sysinfo (int cmd, char *buf, long count) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::truncate (const ACE_TCHAR *filename, ACE_OFF_T length) |
ACE_NAMESPACE_INLINE_FUNCTION useconds_t | ACE_OS::ualarm (useconds_t usecs, useconds_t interval=0) |
ACE_NAMESPACE_INLINE_FUNCTION useconds_t | ACE_OS::ualarm (const ACE_Time_Value &tv, const ACE_Time_Value &tv_interval=ACE_Time_Value::zero) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::unlink (const char *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::unlink (const wchar_t *path) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | ACE_OS::write (ACE_HANDLE handle, const void *buf, size_t nbyte) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | ACE_OS::write (ACE_HANDLE handle, const void *buf, size_t nbyte, ACE_OVERLAPPED *) |
ssize_t | ACE_OS::write_n (ACE_HANDLE handle, const void *buf, size_t len, size_t *bt) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | ACE_OS::fork (void) |
pid_t | ACE_OS::fork (const ACE_TCHAR *program_name) |
pid_t | ACE_OS::fork_exec (ACE_TCHAR *argv[]) |
Originally in OS.h.
#define ACE_EXPORT_MACRO ACE_Export |
#define ACE_INLINE inline |