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"
#include "ace/OS_NS_unistd.inl"
Include dependency graph for OS_NS_unistd.h:

Namespaces

namespace  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.


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)
ACE_Export 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()
ACE_Export int ACE_OS::argv_to_string (ACE_TCHAR **argv, ACE_TCHAR *&buf, bool substitute_env_args=true, bool quote_args=false)
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
ACE_HANDLE 
ACE_OS::dup (ACE_HANDLE handle, pid_t pid)
ACE_NAMESPACE_INLINE_FUNCTION int ACE_OS::dup2 (ACE_HANDLE oldfd, ACE_HANDLE newfd)
ACE_Export int ACE_OS::execl (const char *path, const char *arg0,...)
ACE_Export int ACE_OS::execle (const char *path, const char *arg0,...)
ACE_Export int ACE_OS::execlp (const char *file, const char *arg0,...)
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)
ACE_Export long ACE_OS::num_processors (void)
 Get the number of CPUs configured in the machine.
ACE_Export 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[])
ACE_Export ssize_t ACE_OS::pread (ACE_HANDLE handle, void *buf, size_t nbyte, ACE_OFF_T offset)
ACE_Export ssize_t ACE_OS::pwrite (ACE_HANDLE handle, const void *buf, size_t nbyte, 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 *)
ACE_Export ssize_t ACE_OS::read_n (ACE_HANDLE handle, void *buf, size_t len, size_t *bytes_transferred=0)
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)
ACE_Export int ACE_OS::string_to_argv (ACE_TCHAR *buf, int &argc, ACE_TCHAR **&argv, bool substitute_env_args=true)
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 *)
ACE_Export ssize_t ACE_OS::write_n (ACE_HANDLE handle, const void *buf, size_t len, size_t *bytes_transferred=0)

ACE_NAMESPACE_INLINE_FUNCTION pid_t ACE_OS::fork (void)
ACE_Export pid_t ACE_OS::fork (const ACE_TCHAR *program_name)
ACE_Export pid_t ACE_OS::fork_exec (ACE_TCHAR *argv[])

Detailed Description

Id
OS_NS_unistd.h 84918 2009-03-20 08:07:01Z johnnyw
Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>
Jesper S. M|ller<stophph@diku.dk>
and a cast of thousands...

Originally in OS.h.


Define Documentation

#define ACE_EXPORT_MACRO   ACE_Export
#define ACE_INLINE   inline
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2