ACE  6.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
OS_NS_unistd.h File Reference
#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"

Namespaces

 ACE_OS
 This namespace defines an OS independent programming API that shields developers from nonportable aspects of writing efficient system programs on Win32, POSIX and other versions of UNIX, and various real-time operating systems.
 

Macros

#define ACE_EXPORT_MACRO   ACE_Export
 

Functions

int ACE_OS::access (const char *path, int amode)
 
int ACE_OS::access (const wchar_t *path, int amode)
 
unsigned int ACE_OS::alarm (u_int secs)
 
long ACE_OS::allocation_granularity (void)
 
int ACE_OS::argv_to_string (int argc, ACE_TCHAR **argv, ACE_TCHAR *&buf, bool substitute_env_args=true, bool quote_args=false)
 used by ARGV::argv_to_string() and ACE_OS::fork_exec() More...
 
int ACE_OS::argv_to_string (ACE_TCHAR **argv, ACE_TCHAR *&buf, bool substitute_env_args=true, bool quote_args=false)
 
int ACE_OS::chdir (const char *path)
 
int ACE_OS::chdir (const wchar_t *path)
 
int ACE_OS::rmdir (const char *path)
 
int ACE_OS::rmdir (const wchar_t *path)
 
int ACE_OS::close (ACE_HANDLE handle)
 
ACE_HANDLE ACE_OS::dup (ACE_HANDLE handle)
 
ACE_HANDLE ACE_OS::dup (ACE_HANDLE handle, pid_t pid)
 
int ACE_OS::dup2 (ACE_HANDLE oldfd, ACE_HANDLE newfd)
 
int ACE_OS::execl (const char *path, const char *arg0,...)
 
int ACE_OS::execle (const char *path, const char *arg0,...)
 
int ACE_OS::execlp (const char *file, const char *arg0,...)
 
int ACE_OS::execv (const char *path, char *const argv[])
 
int ACE_OS::execve (const char *path, char *const argv[], char *const envp[])
 
int ACE_OS::execvp (const char *file, char *const argv[])
 
int ACE_OS::fsync (ACE_HANDLE handle)
 
int ACE_OS::ftruncate (ACE_HANDLE handle, ACE_OFF_T offset)
 
char * ACE_OS::getcwd (char *, size_t)
 
wchar_t * ACE_OS::getcwd (wchar_t *, size_t)
 
gid_t ACE_OS::getgid (void)
 
gid_t ACE_OS::getegid (void)
 
int ACE_OS::getopt (int argc, char *const *argv, const char *optstring)
 
long ACE_OS::getpagesize (void)
 
pid_t ACE_OS::getpgid (pid_t pid)
 
pid_t ACE_OS::getpid (void)
 
pid_t ACE_OS::getppid (void)
 
uid_t ACE_OS::getuid (void)
 
uid_t ACE_OS::geteuid (void)
 
int ACE_OS::hostname (char name[], size_t maxnamelen)
 
int ACE_OS::hostname (wchar_t name[], size_t maxnamelen)
 
int ACE_OS::isatty (int handle)
 
int ACE_OS::isatty (ACE_HANDLE handle)
 
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. More...
 
long ACE_OS::num_processors_online (void)
 Get the number of CPUs currently online. More...
 
int ACE_OS::pipe (ACE_HANDLE handles[])
 
ssize_t ACE_OS::pread (ACE_HANDLE handle, void *buf, size_t nbyte, ACE_OFF_T offset)
 
ssize_t ACE_OS::pwrite (ACE_HANDLE handle, const void *buf, size_t nbyte, ACE_OFF_T offset)
 
ssize_t ACE_OS::read (ACE_HANDLE handle, void *buf, size_t len)
 
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 *bytes_transferred=0)
 
ssize_t ACE_OS::readlink (const char *path, char *buf, size_t bufsiz)
 
void * ACE_OS::sbrk (intptr_t brk)
 
int ACE_OS::setgid (gid_t)
 
int ACE_OS::setegid (gid_t)
 
int ACE_OS::setpgid (pid_t pid, pid_t pgid)
 
int ACE_OS::setregid (gid_t rgid, gid_t egid)
 
int ACE_OS::setreuid (uid_t ruid, uid_t euid)
 
pid_t ACE_OS::setsid (void)
 
int ACE_OS::setuid (uid_t)
 
int ACE_OS::seteuid (uid_t)
 
int ACE_OS::sleep (u_int seconds)
 
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=true)
 
void ACE_OS::swab (const void *src, void *dest, ssize_t n)
 
long ACE_OS::sysconf (int)
 
long ACE_OS::sysinfo (int cmd, char *buf, long count)
 
int ACE_OS::truncate (const ACE_TCHAR *filename, ACE_OFF_T length)
 
useconds_t ACE_OS::ualarm (useconds_t usecs, useconds_t interval=0)
 
useconds_t ACE_OS::ualarm (const ACE_Time_Value &tv, const ACE_Time_Value &tv_interval=ACE_Time_Value::zero)
 
int ACE_OS::unlink (const char *path)
 
int ACE_OS::unlink (const wchar_t *path)
 
ssize_t ACE_OS::write (ACE_HANDLE handle, const void *buf, size_t nbyte)
 
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 *bytes_transferred=0)
 
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[])
 

Detailed Description

Id:
OS_NS_unistd.h 92712 2010-11-25 12:22:13Z johnnyw
Author
Douglas C. Schmidt schmi.nosp@m.dt@c.nosp@m.s.wus.nosp@m.tl.e.nosp@m.du
Jesper S. M|llerstoph.nosp@m.ph@d.nosp@m.iku.d.nosp@m.k
and a cast of thousands...

Originally in OS.h.

Macro Definition Documentation

#define ACE_EXPORT_MACRO   ACE_Export