ACE  6.1.0
Namespaces | Defines | 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

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_EXIT_HOOK ACE_OS::exit_hook_ = 0
 Function that is called by <ACE_OS::exit>, if non-null.
void ACE_OS::_exit (int status=0)
 Function that is called by <ACE_OS::exit>, if non-null.
void ACE_OS::abort (void)
 Function that is called by <ACE_OS::exit>, if non-null.
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.
int ACE_OS::atoi (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null.
long ACE_OS::atol (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null.
long ACE_OS::atol (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null.
double ACE_OS::atof (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null.
double ACE_OS::atof (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null.
void * ACE_OS::atop (const char *s)
 Function that is called by <ACE_OS::exit>, if non-null.
void * ACE_OS::atop (const wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null.
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.
void * ACE_OS::calloc (size_t elements, size_t sizeof_elements)
 Function that is called by <ACE_OS::exit>, if non-null.
void ACE_OS::exit (int status=0)
 Function that is called by <ACE_OS::exit>, if non-null.
void ACE_OS::free (void *)
 Function that is called by <ACE_OS::exit>, if non-null.
char * ACE_OS::getenv (const char *symbol)
 Function that is called by <ACE_OS::exit>, if non-null.
wchar_t * ACE_OS::getenv (const wchar_t *symbol)
 Function that is called by <ACE_OS::exit>, if non-null.
ACE_TCHARACE_OS::getenvstrings (void)
 Function that is called by <ACE_OS::exit>, if non-null.
char * ACE_OS::itoa (int value, char *string, int radix)
 Converts an integer to a string.
wchar_t * ACE_OS::itoa (int value, wchar_t *string, int radix)
 Converts an integer to a string.
char * ACE_OS::itoa_emulation (int value, char *string, int radix)
 Emulated itoa - Converts an integer to a string.
void * ACE_OS::malloc (size_t)
 Function that is called by <ACE_OS::exit>, if non-null.
ACE_HANDLE ACE_OS::mkstemp (char *s)
 Function that is called by <ACE_OS::exit>, if non-null.
ACE_HANDLE ACE_OS::mkstemp (wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null.
char * ACE_OS::mktemp (char *s)
 Function that is called by <ACE_OS::exit>, if non-null.
wchar_t * ACE_OS::mktemp (wchar_t *s)
 Function that is called by <ACE_OS::exit>, if non-null.
int ACE_OS::putenv (const char *string)
 Function that is called by <ACE_OS::exit>, if non-null.
int ACE_OS::putenv (const wchar_t *string)
 Function that is called by <ACE_OS::exit>, if non-null.
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.
int ACE_OS::setenv (const char *envname, const char *envval, int overwrite)
 Function that is called by <ACE_OS::exit>, if non-null.
int ACE_OS::unsetenv (const char *name)
 Function that is called by <ACE_OS::exit>, if non-null.
int ACE_OS::rand (void)
 Function that is called by <ACE_OS::exit>, if non-null.
int ACE_OS::rand_r (unsigned int *seed)
 Function that is called by <ACE_OS::exit>, if non-null.
void * ACE_OS::realloc (void *, size_t)
 Function that is called by <ACE_OS::exit>, if non-null.
char * ACE_OS::realpath (const char *file_name, char *resolved_name)
 Function that is called by <ACE_OS::exit>, if non-null.
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.
ACE_EXIT_HOOK ACE_OS::set_exit_hook (ACE_EXIT_HOOK hook)
 For use by ACE_Object_Manager only, to register its exit hook..
void ACE_OS::srand (u_int seed)
 Function that is called by <ACE_OS::exit>, if non-null.
ACE_TCHARACE_OS::strenvdup (const ACE_TCHAR *str)
 Function that is called by <ACE_OS::exit>, if non-null.
double ACE_OS::strtod (const char *s, char **endptr)
 Converts a string to a double value (char version).
double ACE_OS::strtod (const wchar_t *s, wchar_t **endptr)
 Converts a string to a double value (wchar_t version).
long ACE_OS::strtol (const char *s, char **ptr, int base)
 Converts a string to a long value (char version).
long ACE_OS::strtol (const wchar_t *s, wchar_t **ptr, int base)
 Converts a string to a long value (wchar_t version).
unsigned long ACE_OS::strtoul (const char *s, char **ptr, int base)
 Converts a string to an unsigned long value (char version).
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).
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_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).
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_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).
int ACE_OS::system (const ACE_TCHAR *s)
 Function that is called by <ACE_OS::exit>, if non-null.
const char * ACE_OS::getprogname ()
const char * ACE_OS::getprogname_emulation ()
 Function that is called by <ACE_OS::exit>, if non-null.
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.

Detailed Description

Id:
OS_NS_stdlib.h 93571 2011-03-17 07:37:11Z olli
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

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]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines