ACE  6.3.3
Namespaces | Macros | Typedefs | Functions
OS_NS_stdlib.h File Reference
#include "ace/config-all.h"
#include "ace/os_include/os_stdlib.h"
#include "ace/Basic_Types.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
 

Typedefs

typedef int(* ACE_COMPARE_FUNC) (const void *, const void *)
 

Functions

ACE_INT64 ace_strtoll_helper (const char *s, char **ptr, int base)
 
ACE_INT64 ace_strtoull_helper (const char *s, char **ptr, int base)
 

Non-standard functions

These functions aren't in the standard.

ACE_EXIT_HOOK ACE_OS::exit_hook_ = 0
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void ACE_OS::_exit (int status=0)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void ACE_OS::abort (void)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::atexit (ACE_EXIT_HOOK func, const char *name=0)
 
int ACE_OS::atoi (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::atoi (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
long ACE_OS::atol (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
long ACE_OS::atol (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
double ACE_OS::atof (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
double ACE_OS::atof (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void * ACE_OS::atop (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void * ACE_OS::atop (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void * ACE_OS::bsearch (const void *key, const void *base, size_t nel, size_t size, ACE_COMPARE_FUNC)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void * ACE_OS::calloc (size_t elements, size_t sizeof_elements)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void ACE_OS::exit (int status=0)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void ACE_OS::free (void *)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
char * ACE_OS::getenv (const char *symbol)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
wchar_t * ACE_OS::getenv (const wchar_t *symbol)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
ACE_TCHARACE_OS::getenvstrings (void)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
char * ACE_OS::itoa (int value, char *string, int radix)
 Converts an integer to a string. More...
 
wchar_t * ACE_OS::itoa (int value, wchar_t *string, int radix)
 Converts an integer to a string. More...
 
char * ACE_OS::itoa_emulation (int value, char *string, int radix)
 Emulated itoa - Converts an integer to a string. More...
 
void * ACE_OS::malloc (size_t)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
ACE_HANDLE ACE_OS::mkstemp (char *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
ACE_HANDLE ACE_OS::mkstemp (wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
char * ACE_OS::mktemp (char *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
wchar_t * ACE_OS::mktemp (wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::putenv (const char *string)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::putenv (const wchar_t *string)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void ACE_OS::qsort (void *base, size_t nel, size_t width, ACE_COMPARE_FUNC)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::setenv (const char *envname, const char *envval, int overwrite)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::unsetenv (const char *name)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::rand (void)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
int ACE_OS::rand_r (unsigned int *seed)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void * ACE_OS::realloc (void *, size_t)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
char * ACE_OS::realpath (const char *file_name, char *resolved_name)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
wchar_t * ACE_OS::realpath (const wchar_t *file_name, wchar_t *resolved_name)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
ACE_EXIT_HOOK ACE_OS::set_exit_hook (ACE_EXIT_HOOK hook)
 For use by ACE_Object_Manager only, to register its exit hook.. More...
 
void ACE_OS::srand (u_int seed)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
ACE_TCHARACE_OS::strenvdup (const ACE_TCHAR *str)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
double ACE_OS::strtod (const char *s, char **endptr)
 Converts a string to a double value (char version). More...
 
double ACE_OS::strtod (const wchar_t *s, wchar_t **endptr)
 Converts a string to a double value (wchar_t version). More...
 
long ACE_OS::strtol (const char *s, char **ptr, int base)
 Converts a string to a long value (char version). More...
 
long ACE_OS::strtol (const wchar_t *s, wchar_t **ptr, int base)
 Converts a string to a long value (wchar_t version). More...
 
unsigned long ACE_OS::strtoul (const char *s, char **ptr, int base)
 Converts a string to an unsigned long value (char version). More...
 
unsigned long ACE_OS::strtoul (const wchar_t *s, wchar_t **ptr, int base)
 Converts a string to an unsigned long value (wchar_t version). More...
 
ACE_INT64 ACE_OS::strtoll (const char *s, char **ptr, int base)
 Converts a string to a signed 64 bit int value (char version). More...
 
ACE_INT64 ACE_OS::strtoll (const wchar_t *s, wchar_t **ptr, int base)
 Converts a string to a signed 64 bit int value (wchar_t version). More...
 
ACE_UINT64 ACE_OS::strtoull (const char *s, char **ptr, int base)
 Converts a string to a unsigned 64 bit int value (char version). More...
 
ACE_UINT64 ACE_OS::strtoull (const wchar_t *s, wchar_t **ptr, int base)
 Converts a string to a unsigned 64 bit int value (wchar_t version). More...
 
int ACE_OS::system (const ACE_TCHAR *s)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
const char * ACE_OS::getprogname ()
 
const char * ACE_OS::getprogname_emulation ()
 Function that is called by <ACE_OS::exit>, if non-null. More...
 
void ACE_OS::setprogname (const char *name)
 
void ACE_OS::setprogname_emulation (const char *name)
 Function that is called by <ACE_OS::exit>, if non-null. More...
 

Detailed Description

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

Typedef Documentation

typedef int(* ACE_COMPARE_FUNC) (const void *, const void *)

Function Documentation

ACE_INT64 ace_strtoll_helper ( const char *  s,
char **  ptr,
int  base 
)
inline
ACE_INT64 ace_strtoull_helper ( const char *  s,
char **  ptr,
int  base 
)
inline