#include "ace/os_include/os_stdlib.h"

Go to the source code of this file.
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 |
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_Export ACE_EXIT_HOOK | ACE_OS::exit_hook_ |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION void | ACE_OS::_exit (int status=0) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION void | ACE_OS::abort (void) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::atexit (ACE_EXIT_HOOK func, const char *name=0) |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::atoi (const char *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION long | ACE_OS::atol (const char *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION double | ACE_OS::atof (const char *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION void * | ACE_OS::atop (const char *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION 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. | |
| ACE_Export void * | ACE_OS::calloc (size_t elements, size_t sizeof_elements) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_Export void | ACE_OS::exit (int status=0) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_Export void | ACE_OS::free (void *) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION char * | ACE_OS::getenv (const char *symbol) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_Export ACE_TCHAR * | ACE_OS::getenvstrings (void) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION char * | ACE_OS::itoa (int value, char *string, int radix) |
| Converts an integer to a string. | |
| ACE_Export char * | ACE_OS::itoa_emulation (int value, char *string, int radix) |
| Emulated itoa - Converts an integer to a string. | |
| ACE_Export void * | ACE_OS::malloc (size_t) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | ACE_OS::mkstemp (char *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION char * | ACE_OS::mktemp (char *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::putenv (const char *string) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION 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. | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::setenv (const char *envname, const char *envval, int overwrite) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::unsetenv (const char *name) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::rand (void) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::rand_r (ACE_RANDR_TYPE &seed) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_Export void * | ACE_OS::realloc (void *, size_t) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION char * | ACE_OS::realpath (const char *file_name, char *resolved_name) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION ACE_EXIT_HOOK | ACE_OS::set_exit_hook (ACE_EXIT_HOOK hook) |
| For use by ACE_Object_Manager only, to register its exit hook.. | |
| ACE_NAMESPACE_INLINE_FUNCTION void | ACE_OS::srand (u_int seed) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_Export ACE_TCHAR * | ACE_OS::strenvdup (const ACE_TCHAR *str) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION double | ACE_OS::strtod (const char *s, char **endptr) |
| Converts a string to a double value (char version). | |
| ACE_NAMESPACE_INLINE_FUNCTION long | ACE_OS::strtol (const char *s, char **ptr, int base) |
| Converts a string to a long value (char version). | |
| ACE_NAMESPACE_INLINE_FUNCTION unsigned long | ACE_OS::strtoul (const char *s, char **ptr, int base) |
| Converts a string to an unsigned long value (char version). | |
| ACE_NAMESPACE_INLINE_FUNCTION ACE_INT64 | ACE_OS::strtoll (const char *s, char **ptr, int base) |
| Converts a string to a signed 64 bit int value (char version). | |
| ACE_NAMESPACE_INLINE_FUNCTION ACE_UINT64 | ACE_OS::strtoull (const char *s, char **ptr, int base) |
| Converts a string to a unsigned 64 bit int value (char version). | |
| ACE_NAMESPACE_INLINE_FUNCTION int | ACE_OS::system (const ACE_TCHAR *s) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION const char * | ACE_OS::getprogname () |
| ACE_Export const char * | ACE_OS::getprogname_emulation () |
| Function that is called by <ACE_OS::exit>, if non-null. | |
| ACE_NAMESPACE_INLINE_FUNCTION void | ACE_OS::setprogname (const char *name) |
| ACE_Export void | ACE_OS::setprogname_emulation (const char *name) |
| Function that is called by <ACE_OS::exit>, if non-null. | |
Originally in OS.h.
Definition in file OS_NS_stdlib.h.
| #define ACE_EXPORT_MACRO ACE_Export |
Definition at line 36 of file OS_NS_stdlib.h.
| typedef int(* ACE_COMPARE_FUNC)(const void *, const void *) |
Definition at line 47 of file OS_NS_stdlib.h.
| ACE_INT64 ace_strtoll_helper | ( | const char * | s, | |
| char ** | ptr, | |||
| int | base | |||
| ) | [inline] |
Definition at line 64 of file OS_NS_stdlib.h.
00065 { 00066 # if defined (strtoll) 00067 return strtoll (s, ptr, base); 00068 # undef strtoll 00069 # else 00070 return ACE_STD_NAMESPACE::strtoll (s, ptr, base); 00071 # endif /* strtoll */ 00072 }
| ACE_INT64 ace_strtoull_helper | ( | const char * | s, | |
| char ** | ptr, | |||
| int | base | |||
| ) | [inline] |
Definition at line 76 of file OS_NS_stdlib.h.
00077 { 00078 # if defined (strtoull) 00079 return strtoull (s, ptr, base); 00080 # undef strtoull 00081 # else 00082 return ACE_STD_NAMESPACE::strtoull (s, ptr, base); 00083 # endif /* strtoull */ 00084 }
1.6.1