Compounds | |
class | ace_flock_t |
OS file locking structure. More... | |
struct | macaddr_node_t |
Functions from <cctype> | |
Included are the functions defined in <cctype> and their <cwctype> equivalents.
Since they are often implemented as macros, we don't use the same name here. Instead, we change by prepending "ace_" (with the exception of to_lower).
| |
ACE_NAMESPACE_INLINE_FUNCTION int | ace_isprint (const ACE_TCHAR c) |
Returns true if the character is a printable character. | |
ACE_NAMESPACE_INLINE_FUNCTION int | ace_isspace (const ACE_TCHAR c) |
Returns true if the character is a space character. | |
ACE_NAMESPACE_INLINE_FUNCTION int | to_lower (int c) |
Converts a character to lower case (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wint_t | to_lower (wint_t c) |
Converts a character to lower case (wchar_t version). | |
A set of wrappers for explicit dynamic linking. | |
ACE_NAMESPACE_INLINE_FUNCTION int | dlclose (ACE_SHLIB_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | dlerror (void) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_SHLIB_HANDLE | dlopen (const ACE_TCHAR *filename, int mode=ACE_DEFAULT_SHLIB_MODE) |
ACE_NAMESPACE_INLINE_FUNCTION void * | dlsym (ACE_SHLIB_HANDLE handle, const ACE_TCHAR *symbol) |
A set of wrappers for password routines. | |
ACE_NAMESPACE_INLINE_FUNCTION void | endpwent (void) |
ACE_NAMESPACE_INLINE_FUNCTION struct passwd * | getpwent (void) |
ACE_NAMESPACE_INLINE_FUNCTION struct passwd * | getpwnam (const char *user) |
ACE_NAMESPACE_INLINE_FUNCTION struct passwd * | getpwnam_r (const char *name, struct passwd *pwent, char *buffer, int buflen) |
ACE_NAMESPACE_INLINE_FUNCTION void | setpwent (void) |
A set of wrappers for regular expressions. | |
ACE_NAMESPACE_INLINE_FUNCTION char * | compile (const char *instring, char *expbuf, char *endbuf) |
ACE_NAMESPACE_INLINE_FUNCTION int | step (const char *str, char *expbuf) |
A set of wrappers for Signals. | |
ACE_NAMESPACE_INLINE_FUNCTION int | kill (pid_t pid, int signum) |
ACE_NAMESPACE_INLINE_FUNCTION int | pthread_sigmask (int how, const sigset_t *nsp, sigset_t *osp) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigaction (int signum, const struct sigaction *nsa, struct sigaction *osa) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigaddset (sigset_t *s, int signum) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigdelset (sigset_t *s, int signum) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigemptyset (sigset_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigfillset (sigset_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigismember (sigset_t *s, int signum) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_SignalHandler | signal (int signum, ACE_SignalHandler) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigprocmask (int how, const sigset_t *nsp, sigset_t *osp) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigsuspend (const sigset_t *set) |
Wrappers to obtain the current user id | |
ACE_NAMESPACE_INLINE_FUNCTION char * | cuserid (char *user, size_t maxlen=ACE_MAX_USERID) |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | cuserid (wchar_t *user, size_t maxlen=ACE_MAX_USERID) |
A set of wrappers for file locks. | |
ACE_NAMESPACE_INLINE_FUNCTION void | flock_adjust_params (ace_flock_t *lock, short whence, off_t &start, off_t &len) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_init (ace_flock_t *lock, int flags=0, const ACE_TCHAR *name=0, mode_t perms=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_destroy (ace_flock_t *lock, int unlink_file=1) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_rdlock (ace_flock_t *lock, short whence=0, off_t start=0, off_t len=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_tryrdlock (ace_flock_t *lock, short whence=0, off_t start=0, off_t len=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_trywrlock (ace_flock_t *lock, short whence=0, off_t start=0, off_t len=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_unlock (ace_flock_t *lock, short whence=0, off_t start=0, off_t len=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | flock_wrlock (ace_flock_t *lock, short whence=0, off_t start=0, off_t len=0) |
Non-standard functions | |
These functions aren't in the standard. | |
ACE_NAMESPACE_INLINE_FUNCTION void | _exit (int status=0) |
ACE_NAMESPACE_INLINE_FUNCTION void | abort (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | atexit (ACE_EXIT_HOOK func) |
ACE_NAMESPACE_INLINE_FUNCTION int | atoi (const char *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | atoi (const wchar_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION void * | atop (const char *s) |
ACE_NAMESPACE_INLINE_FUNCTION void * | atop (const wchar_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION void * | bsearch (const void *key, const void *base, size_t nel, size_t size, ACE_COMPARE_FUNC) |
ACE_Export void * | calloc (size_t elements, size_t sizeof_elements) |
ACE_Export void | exit (int status=0) |
ACE_Export void | free (void *) |
ACE_NAMESPACE_INLINE_FUNCTION char * | getenv (const char *symbol) |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | getenv (const wchar_t *symbol) |
ACE_Export ACE_TCHAR * | getenvstrings (void) |
ACE_NAMESPACE_INLINE_FUNCTION char * | itoa (int value, char *string, int radix) |
Converts an integer to a string. | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | itoa (int value, wchar_t *string, int radix) |
Converts an integer to a string. | |
ACE_Export char * | itoa_emulation (int value, char *string, int radix) |
Emulated itoa - Converts an integer to a string. | |
ACE_Export wchar_t * | itow_emulation (int value, wchar_t *string, int radix) |
Emulated itow - Converts an integer to a string. | |
ACE_Export void * | malloc (size_t) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | mkstemp (ACE_TCHAR *t) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | mktemp (ACE_TCHAR *t) |
ACE_NAMESPACE_INLINE_FUNCTION int | putenv (const ACE_TCHAR *string) |
ACE_NAMESPACE_INLINE_FUNCTION void | qsort (void *base, size_t nel, size_t width, ACE_COMPARE_FUNC) |
ACE_NAMESPACE_INLINE_FUNCTION int | rand (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | rand_r (ACE_RANDR_TYPE &seed) |
ACE_Export void * | realloc (void *, size_t) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_EXIT_HOOK | set_exit_hook (ACE_EXIT_HOOK hook) |
For use by ACE_Object_Manager only, to register its exit hook.. | |
ACE_NAMESPACE_INLINE_FUNCTION void | srand (u_int seed) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | strenvdup (const ACE_TCHAR *str) |
ACE_NAMESPACE_INLINE_FUNCTION double | strtod (const char *s, char **endptr) |
Converts a string to a double value (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION double | strtod (const wchar_t *s, wchar_t **endptr) |
Converts a string to a double value (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION long | strtol (const char *s, char **ptr, int base) |
Converts a string to a long value (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION long | strtol (const wchar_t *s, wchar_t **ptr, int base) |
Converts a string to a long value (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION unsigned long | strtoul (const char *s, char **ptr, int base) |
Converts a string to an unsigned long value (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION unsigned long | strtoul (const wchar_t *s, wchar_t **ptr, int base) |
Converts a string to an unsigned long value (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | system (const ACE_TCHAR *s) |
ACE_Export ACE_EXIT_HOOK | exit_hook_ = 0 |
Function that is called by <ACE_OS::exit>, if non-null. | |
Functions from <cstring> | |
Included are the functions defined in <cstring> and their <cwchar> equivalents.
| |
ACE_NAMESPACE_INLINE_FUNCTION const void * | memchr (const void *s, int c, size_t len) |
Finds characters in a buffer (const void version). | |
ACE_NAMESPACE_INLINE_FUNCTION void * | memchr (void *s, int c, size_t len) |
Finds characters in a buffer (void version). | |
ACE_Export const void * | memchr_emulation (const void *s, int c, size_t len) |
Emulated memchr - Finds a character in a buffer. | |
ACE_NAMESPACE_INLINE_FUNCTION int | memcmp (const void *t, const void *s, size_t len) |
Compares two buffers. | |
ACE_NAMESPACE_INLINE_FUNCTION void * | memcpy (void *t, const void *s, size_t len) |
Copies one buffer to another. | |
ACE_NAMESPACE_INLINE_FUNCTION void * | memmove (void *t, const void *s, size_t len) |
Moves one buffer to another. | |
ACE_NAMESPACE_INLINE_FUNCTION void * | memset (void *s, int c, size_t len) |
Fills a buffer with a character value. | |
ACE_NAMESPACE_INLINE_FUNCTION char * | strcat (char *s, const char *t) |
Appends a string to another string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strcat (wchar_t *s, const wchar_t *t) |
Appends a string to another string (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION const char * | strchr (const char *s, int c) |
ACE_NAMESPACE_INLINE_FUNCTION const wchar_t * | strchr (const wchar_t *s, wint_t c) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strchr (char *s, int c) |
Finds the first occurance of a character in a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strchr (wchar_t *s, wint_t c) |
Finds the first occurance of a character in a string (wchar_t version). | |
ACE_Export char * | strchr_emulation (char *s, int c) |
ACE_Export const char * | strchr_emulation (const char *s, int c) |
ACE_NAMESPACE_INLINE_FUNCTION int | strcmp (const char *s, const char *t) |
Compares two strings (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strcmp (const ACE_WCHAR_T *s, const ACE_WCHAR_T *t) |
Compares two strings (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION char * | strcpy (char *s, const char *t) |
Copies a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strcpy (wchar_t *s, const wchar_t *t) |
Copies a string (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strcspn (const char *s, const char *reject) |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strcspn (const wchar_t *s, const wchar_t *reject) |
ACE_Export size_t | strcspn_emulation (const char *s, const char *reject) |
Emulated strcspn - Finds a substring in a string. | |
ACE_Export char * | strdup (const char *s) |
Returns a malloced duplicated string (char version). | |
ACE_Export wchar_t * | strdup (const wchar_t *s) |
Returns a malloced duplicated string (wchar_t version). | |
ACE_Export char * | strecpy (char *des, const char *src) |
ACE_Export wchar_t * | strecpy (wchar_t *s, const wchar_t *t) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strerror (int errnum) |
Returns a system error message. | |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strlen (const char *s) |
Finds the length of a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strlen (const ACE_WCHAR_T *s) |
Finds the length of a string (ACE_WCHAR_T version). | |
ACE_NAMESPACE_INLINE_FUNCTION char * | strncat (char *s, const char *t, size_t len) |
Appends part of a string to another string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_WCHAR_T * | strncat (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len) |
Appends part of a string to another string (wchar_t version). | |
ACE_Export const char * | strnchr (const char *s, int c, size_t len) |
ACE_Export const ACE_WCHAR_T * | strnchr (const ACE_WCHAR_T *s, ACE_WINT_T c, size_t len) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strnchr (char *s, int c, size_t len) |
Finds the first occurance of a character in an array (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_WCHAR_T * | strnchr (ACE_WCHAR_T *s, ACE_WINT_T c, size_t len) |
Finds the first occurance of a character in an array (ACE_WCHAR_T version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strncmp (const char *s, const char *t, size_t len) |
Compares two arrays (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strncmp (const ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len) |
Compares two arrays (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION char * | strncpy (char *s, const char *t, size_t len) |
Copies an array (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_WCHAR_T * | strncpy (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len) |
Copies an array (ACE_WCHAR_T version). | |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strnlen (const char *s, size_t maxlen) |
Finds the length of a limited-length string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strnlen (const ACE_WCHAR_T *s, size_t maxlen) |
Finds the length of a limited-length string (ACE_WCHAR_T version). | |
ACE_Export const char * | strnstr (const char *s, const char *t, size_t len) |
ACE_Export const ACE_WCHAR_T * | strnstr (const ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strnstr (char *s, const char *t, size_t len) |
Finds the first occurance of a substring in an array (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_WCHAR_T * | strnstr (ACE_WCHAR_T *s, const ACE_WCHAR_T *t, size_t len) |
Finds the first occurance of a substring in an array (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION const char * | strpbrk (const char *s1, const char *s2) |
Searches for characters in a string (const char version). | |
ACE_NAMESPACE_INLINE_FUNCTION const wchar_t * | strpbrk (const wchar_t *s1, const wchar_t *s2) |
Searches for characters in a string (const wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION char * | strpbrk (char *s1, const char *s2) |
Searches for characters in a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strpbrk (wchar_t *s1, const wchar_t *s2) |
Searches for characters in a string (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION const char * | strrchr (const char *s, int c) |
ACE_NAMESPACE_INLINE_FUNCTION const wchar_t * | strrchr (const wchar_t *s, wint_t c) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strrchr (char *s, int c) |
Finds the last occurance of a character in a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strrchr (wchar_t *s, wint_t c) |
Finds the last occurance of a character in a string (wchar_t version). | |
ACE_Export char * | strrchr_emulation (char *s, int c) |
ACE_Export const char * | strrchr_emulation (const char *s, int c) |
ACE_Export char * | strsncpy (char *dst, const char *src, size_t maxlen) |
This is a "safe" c string copy function (char version). | |
ACE_Export ACE_WCHAR_T * | strsncpy (ACE_WCHAR_T *dst, const ACE_WCHAR_T *src, size_t maxlen) |
This is a "safe" c string copy function (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strspn (const char *s1, const char *s2) |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strspn (const wchar_t *s1, const wchar_t *s2) |
ACE_NAMESPACE_INLINE_FUNCTION const char * | strstr (const char *s, const char *t) |
ACE_NAMESPACE_INLINE_FUNCTION const wchar_t * | strstr (const wchar_t *s, const wchar_t *t) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strstr (char *s, const char *t) |
Finds the first occurance of a substring in a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strstr (wchar_t *s, const wchar_t *t) |
Finds the first occurance of a substring in a string (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION char * | strtok (char *s, const char *tokens) |
Finds the next token in a string (char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strtok (wchar_t *s, const wchar_t *tokens) |
Finds the next token in a string (wchar_t version). | |
A set of wrappers for memory mapped files. | |
ACE_NAMESPACE_INLINE_FUNCTION int | madvise (caddr_t addr, size_t len, int map_advice) |
ACE_NAMESPACE_INLINE_FUNCTION void * | mmap (void *addr, size_t len, int prot, int flags, ACE_HANDLE handle, off_t off=0, ACE_HANDLE *file_mapping=0, LPSECURITY_ATTRIBUTES sa=0, const ACE_TCHAR *file_mapping_name=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | mprotect (void *addr, size_t len, int prot) |
ACE_NAMESPACE_INLINE_FUNCTION int | msync (void *addr, size_t len, int sync) |
ACE_NAMESPACE_INLINE_FUNCTION int | munmap (void *addr, size_t len) |
A set of wrappers for System V message queues. | |
ACE_NAMESPACE_INLINE_FUNCTION int | msgctl (int msqid, int cmd, struct msqid_ds *) |
ACE_NAMESPACE_INLINE_FUNCTION int | msgget (key_t key, int msgflg) |
ACE_NAMESPACE_INLINE_FUNCTION int | msgrcv (int int_id, void *buf, size_t len, long type, int flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | msgsnd (int int_id, const void *buf, size_t len, int flags) |
A set of wrappers for System V shared memory. | |
ACE_NAMESPACE_INLINE_FUNCTION void * | shmat (int int_id, void *shmaddr, int shmflg) |
ACE_NAMESPACE_INLINE_FUNCTION int | shmctl (int int_id, int cmd, struct shmid_ds *buf) |
ACE_NAMESPACE_INLINE_FUNCTION int | shmdt (void *shmaddr) |
ACE_NAMESPACE_INLINE_FUNCTION int | shmget (key_t key, int size, int flags) |
A set of wrappers for sockets. | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | accept (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_Export ACE_HANDLE | accept (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen, const ACE_Accept_QoS_Params &qos_params) |
ACE_NAMESPACE_INLINE_FUNCTION int | bind (ACE_HANDLE s, struct sockaddr *name, int namelen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | closesocket (ACE_HANDLE s) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | connect (ACE_HANDLE handle, struct sockaddr *addr, int addrlen) |
BSD-style <connect> (no QoS). | |
ACE_Export int | connect (ACE_HANDLE handle, const sockaddr *addr, int addrlen, const ACE_QoS_Params &qos_params) |
ACE_NAMESPACE_INLINE_FUNCTION int | enum_protocols (int *protocols, ACE_Protocol_Info *protocol_buffer, u_long *buffer_length) |
ACE_NAMESPACE_INLINE_FUNCTION int | getpeername (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | getsockname (ACE_HANDLE handle, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | getsockopt (ACE_HANDLE handle, int level, int optname, char *optval, int *optlen) |
BSD-style <accept> (no QoS). | |
ACE_Export ACE_HANDLE | join_leaf (ACE_HANDLE socket, const sockaddr *name, int namelen, const ACE_QoS_Params &qos_params) |
Joins a leaf node into a QoS-enabled multi-point session. | |
ACE_NAMESPACE_INLINE_FUNCTION int | listen (ACE_HANDLE handle, int backlog) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recv (ACE_HANDLE handle, char *buf, size_t len, int flags=0) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recvfrom (ACE_HANDLE handle, char *buf, size_t len, int flags, struct sockaddr *addr, int *addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recvfrom (ACE_HANDLE handle, iovec *buffers, int buffer_count, size_t &number_of_bytes_recvd, int &flags, struct sockaddr *addr, int *addrlen, ACE_OVERLAPPED *overlapped, ACE_OVERLAPPED_COMPLETION_FUNC func) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | recvmsg (ACE_HANDLE handle, struct msghdr *msg, int flags) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | recvv (ACE_HANDLE handle, iovec *iov, int iovlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | send (ACE_HANDLE handle, const char *buf, size_t len, int flags=0) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sendmsg (ACE_HANDLE handle, const struct msghdr *msg, int flags) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sendto (ACE_HANDLE handle, const char *buf, size_t len, int flags, const struct sockaddr *addr, int addrlen) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sendto (ACE_HANDLE handle, const iovec *buffers, int buffer_count, size_t &number_of_bytes_sent, int flags, const struct sockaddr *addr, int addrlen, ACE_OVERLAPPED *overlapped, ACE_OVERLAPPED_COMPLETION_FUNC func) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | sendv (ACE_HANDLE handle, const iovec *iov, int iovcnt) |
BSD-style <accept> (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION int | setsockopt (ACE_HANDLE handle, int level, int optname, const char *optval, int optlen) |
Manipulate the options associated with a socket. | |
ACE_NAMESPACE_INLINE_FUNCTION int | shutdown (ACE_HANDLE handle, int how) |
BSD-style <accept> (no QoS). | |
ACE_Export int | socket_init (int version_high=1, int version_low=1) |
ACE_Export int | socket_fini (void) |
Finalize WinSock after last use (e.g., when a DLL is unloaded). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | socket (int protocol_family, int type, int proto) |
Create a BSD-style socket (no QoS). | |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | socket (int protocol_family, int type, int proto, ACE_Protocol_Info *protocolinfo, ACE_SOCK_GROUP g, u_long flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | socketpair (int domain, int type, int protocol, ACE_HANDLE sv[2]) |
BSD-style <accept> (no QoS). | |
A set of wrappers for low-level file operations. | |
ACE_NAMESPACE_INLINE_FUNCTION long | filesize (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION long | filesize (const ACE_TCHAR *handle) |
A set of wrappers for condition variables. | |
ACE_NAMESPACE_INLINE_FUNCTION int | condattr_init (ACE_condattr_t &attributes, int type=ACE_DEFAULT_SYNCH_TYPE) |
ACE_NAMESPACE_INLINE_FUNCTION int | condattr_destroy (ACE_condattr_t &attributes) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_broadcast (ACE_cond_t *cv) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_destroy (ACE_cond_t *cv) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_init (ACE_cond_t *cv, short type=ACE_DEFAULT_SYNCH_TYPE, const char *name=0, void *arg=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_init (ACE_cond_t *cv, ACE_condattr_t &attributes, const char *name=0, void *arg=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_init (ACE_cond_t *cv, short type, const wchar_t *name, void *arg=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_init (ACE_cond_t *cv, ACE_condattr_t &attributes, const wchar_t *name, void *arg=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_signal (ACE_cond_t *cv) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_timedwait (ACE_cond_t *cv, ACE_mutex_t *m, ACE_Time_Value *) |
ACE_NAMESPACE_INLINE_FUNCTION int | cond_wait (ACE_cond_t *cv, ACE_mutex_t *m) |
A set of wrappers for auto-reset and manual events. | |
ACE_NAMESPACE_INLINE_FUNCTION int | event_destroy (ACE_event_t *event) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_init (ACE_event_t *event, int manual_reset=0, int initial_state=0, int type=ACE_DEFAULT_SYNCH_TYPE, const char *name=0, void *arg=0, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_init (ACE_event_t *event, int manual_reset, int initial_state, int type, const wchar_t *name, void *arg=0, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_pulse (ACE_event_t *event) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_reset (ACE_event_t *event) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_signal (ACE_event_t *event) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_timedwait (ACE_event_t *event, ACE_Time_Value *timeout, int use_absolute_time=1) |
ACE_NAMESPACE_INLINE_FUNCTION int | event_wait (ACE_event_t *event) |
A set of wrappers for mutex locks. | |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_destroy (ACE_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_init (ACE_mutex_t *m, int type=ACE_DEFAULT_SYNCH_TYPE, const char *name=0, ACE_mutexattr_t *arg=0, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_init (ACE_mutex_t *m, int type, const wchar_t *name, ACE_mutexattr_t *arg=0, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_lock (ACE_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_lock (ACE_mutex_t *m, int &abandoned) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_lock (ACE_mutex_t *m, const ACE_Time_Value &timeout) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_lock (ACE_mutex_t *m, const ACE_Time_Value *timeout) |
ACE_Export void | mutex_lock_cleanup (void *mutex) |
Handle asynchronous thread cancellation cleanup. | |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_trylock (ACE_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_trylock (ACE_mutex_t *m, int &abandoned) |
ACE_NAMESPACE_INLINE_FUNCTION int | mutex_unlock (ACE_mutex_t *m) |
A set of wrappers for recursive mutex locks. | |
ACE_NAMESPACE_INLINE_FUNCTION int | recursive_mutex_cond_unlock (ACE_recursive_thread_mutex_t *m, ACE_recursive_mutex_state &state) |
ACE_NAMESPACE_INLINE_FUNCTION void | recursive_mutex_cond_relock (ACE_recursive_thread_mutex_t *m, ACE_recursive_mutex_state &state) |
ACE_NAMESPACE_INLINE_FUNCTION int | recursive_mutex_destroy (ACE_recursive_thread_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | recursive_mutex_init (ACE_recursive_thread_mutex_t *m, const ACE_TCHAR *name=0, ACE_mutexattr_t *arg=0, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | recursive_mutex_lock (ACE_recursive_thread_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | recursive_mutex_trylock (ACE_recursive_thread_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | recursive_mutex_unlock (ACE_recursive_thread_mutex_t *m) |
A set of wrappers for readers/writer locks. | |
ACE_NAMESPACE_INLINE_FUNCTION int | rw_rdlock (ACE_rwlock_t *rw) |
ACE_NAMESPACE_INLINE_FUNCTION int | rw_tryrdlock (ACE_rwlock_t *rw) |
ACE_NAMESPACE_INLINE_FUNCTION int | rw_trywrlock (ACE_rwlock_t *rw) |
ACE_NAMESPACE_INLINE_FUNCTION int | rw_trywrlock_upgrade (ACE_rwlock_t *rw) |
ACE_NAMESPACE_INLINE_FUNCTION int | rw_unlock (ACE_rwlock_t *rw) |
ACE_NAMESPACE_INLINE_FUNCTION int | rw_wrlock (ACE_rwlock_t *rw) |
ACE_NAMESPACE_INLINE_FUNCTION int | rwlock_destroy (ACE_rwlock_t *rw) |
ACE_Export int | rwlock_init (ACE_rwlock_t *rw, int type=ACE_DEFAULT_SYNCH_TYPE, const ACE_TCHAR *name=0, void *arg=0) |
Thread scheduler interface. | |
ACE_Export int | sched_params (const ACE_Sched_Params &, ACE_id_t id=ACE_SELF) |
A set of wrappers for semaphores. | |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_destroy (ACE_sema_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_init (ACE_sema_t *s, u_int count, int type=ACE_DEFAULT_SYNCH_TYPE, const char *name=0, void *arg=0, int max=0x7fffffff, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_init (ACE_sema_t *s, u_int count, int type, const wchar_t *name, void *arg=0, int max=0x7fffffff, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_post (ACE_sema_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_post (ACE_sema_t *s, u_int release_count) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_trywait (ACE_sema_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_wait (ACE_sema_t *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_wait (ACE_sema_t *s, ACE_Time_Value &tv) |
ACE_NAMESPACE_INLINE_FUNCTION int | sema_wait (ACE_sema_t *s, ACE_Time_Value *tv) |
A set of wrappers for System V semaphores. | |
ACE_NAMESPACE_INLINE_FUNCTION int | semctl (int int_id, int semnum, int cmd, semun) |
ACE_NAMESPACE_INLINE_FUNCTION int | semget (key_t key, int nsems, int flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | semop (int int_id, struct sembuf *sops, size_t nsops) |
A set of wrappers for mutex locks that only work within a single process. | |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_destroy (ACE_thread_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_init (ACE_thread_mutex_t *m, int type=ACE_DEFAULT_SYNCH_TYPE, const char *name=0, ACE_mutexattr_t *arg=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_init (ACE_thread_mutex_t *m, int type, const wchar_t *name, ACE_mutexattr_t *arg=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_lock (ACE_thread_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_lock (ACE_thread_mutex_t *m, const ACE_Time_Value &timeout) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_lock (ACE_thread_mutex_t *m, const ACE_Time_Value *timeout) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_trylock (ACE_thread_mutex_t *m) |
ACE_NAMESPACE_INLINE_FUNCTION int | thread_mutex_unlock (ACE_thread_mutex_t *m) |
A set of wrappers for operations on time. | |
ACE_NAMESPACE_INLINE_FUNCTION char * | asctime (const struct tm *tm) |
ACE_NAMESPACE_INLINE_FUNCTION char * | asctime_r (const struct tm *tm, char *buf, int buflen) |
ACE_NAMESPACE_INLINE_FUNCTION int | clock_gettime (clockid_t, struct timespec *) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | ctime (const time_t *t) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | ctime_r (const time_t *clock, ACE_TCHAR *buf, int buflen) |
ACE_NAMESPACE_INLINE_FUNCTION double | difftime (time_t t1, time_t t0) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_hrtime_t | gethrtime (const ACE_HRTimer_Op=ACE_HRTIMER_GETTIME) |
ACE_NAMESPACE_INLINE_FUNCTION struct tm * | gmtime (const time_t *clock) |
ACE_NAMESPACE_INLINE_FUNCTION struct tm * | gmtime_r (const time_t *clock, struct tm *res) |
ACE_NAMESPACE_INLINE_FUNCTION struct tm * | localtime (const time_t *clock) |
ACE_Export struct tm * | localtime_r (const time_t *clock, struct tm *res) |
ACE_Export time_t | mktime (struct tm *timeptr) |
ACE_NAMESPACE_INLINE_FUNCTION int | nanosleep (const struct timespec *requested, struct timespec *remaining=0) |
ACE_NAMESPACE_INLINE_FUNCTION size_t | strftime (char *s, size_t maxsize, const char *format, const struct tm *timeptr) |
ACE_Export char * | strptime (char *buf, const char *format, struct tm *tm) |
ACE_NAMESPACE_INLINE_FUNCTION time_t | time (time_t *tloc=0) |
ACE_NAMESPACE_INLINE_FUNCTION long | timezone (void) |
ACE_NAMESPACE_INLINE_FUNCTION void | tzset (void) |
[NOHEADER] | |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | fork (void) |
ACE_Export pid_t | fork (const ACE_TCHAR *program_name) |
ACE_Export pid_t | fork_exec (ACE_TCHAR *argv[]) |
A set of wrappers for threads | |
ACE_Export ACE_thread_t | NULL_thread |
ACE_Export ACE_hthread_t | NULL_hthread |
ACE_Export ACE_thread_key_t | NULL_key |
Typedefs | |
typedef ACE_WCHAR_T | WChar |
Enumerations | |
enum | ACE_HRTimer_Op { ACE_HRTIMER_START = 0x0, ACE_HRTIMER_INCR = 0x1, ACE_HRTIMER_STOP = 0x2, ACE_HRTIMER_GETTIME = 0xFFFF } |
Functions | |
ACE_NAMESPACE_INLINE_FUNCTION unsigned long | inet_addr (const char *name) |
ACE_Export int | inet_aton (const char *strptr, struct in_addr *addr) |
ACE_NAMESPACE_INLINE_FUNCTION char * | inet_ntoa (const struct in_addr addr) |
ACE_NAMESPACE_INLINE_FUNCTION const char * | inet_ntop (int family, const void *addrptr, char *strptr, size_t len) |
ACE_NAMESPACE_INLINE_FUNCTION int | inet_pton (int family, const char *strptr, void *addrptr) |
ACE_NAMESPACE_INLINE_FUNCTION void | closedir (ACE_DIR *) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_DIR * | opendir (const ACE_TCHAR *filename) |
ACE_NAMESPACE_INLINE_FUNCTION dirent * | readdir (ACE_DIR *) |
ACE_NAMESPACE_INLINE_FUNCTION int | readdir_r (ACE_DIR *dirp, struct dirent *entry, struct dirent **result) |
ACE_NAMESPACE_INLINE_FUNCTION void | rewinddir (ACE_DIR *) |
ACE_NAMESPACE_INLINE_FUNCTION int | scandir (const ACE_TCHAR *dirname, struct dirent **namelist[], int(*selector)(const struct dirent *filename), int(*comparator)(const struct dirent **f1, const struct dirent **f2)) |
ACE_NAMESPACE_INLINE_FUNCTION void | seekdir (ACE_DIR *, long loc) |
ACE_NAMESPACE_INLINE_FUNCTION long | telldir (ACE_DIR *) |
ACE_Export ACE_DIR * | opendir_emulation (const ACE_TCHAR *filename) |
ACE_Export int | scandir_emulation (const ACE_TCHAR *dirname, dirent **namelist[], int(*selector)(const dirent *entry), int(*comparator)(const dirent **f1, const dirent **f2)) |
ACE_Export void | closedir_emulation (ACE_DIR *) |
ACE_Export dirent * | readdir_emulation (ACE_DIR *) |
ACE_NAMESPACE_INLINE_FUNCTION int | last_error (void) |
ACE_NAMESPACE_INLINE_FUNCTION void | last_error (int) |
ACE_NAMESPACE_INLINE_FUNCTION int | set_errno_to_last_error (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | set_errno_to_wsa_last_error (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | fcntl (ACE_HANDLE handle, int cmd, long arg=0) |
ACE_Export ACE_HANDLE | open (const char *filename, int mode, int perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0) |
ACE_Export ACE_HANDLE | open (const wchar_t *filename, int mode, int perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION double | floor (double x) |
This method computes the largest integral value not greater than x. | |
ACE_NAMESPACE_INLINE_FUNCTION double | ceil (double x) |
This method computes the smallest integral value not less than x. | |
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyaddr (const char *addr, int length, int type) |
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyaddr_r (const char *addr, int length, int type, struct hostent *result, ACE_HOSTENT_DATA buffer, int *h_errnop) |
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyname (const char *name) |
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | gethostbyname_r (const char *name, struct hostent *result, ACE_HOSTENT_DATA buffer, int *h_errnop) |
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | getipnodebyaddr (const void *src, size_t len, int family) |
ACE_NAMESPACE_INLINE_FUNCTION struct hostent * | getipnodebyname (const char *name, int family, int flags=0) |
ACE_Export int | getmacaddress (struct macaddr_node_t *node) |
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobyname (const char *name) |
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobyname_r (const char *name, struct protoent *result, ACE_PROTOENT_DATA buffer) |
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobynumber (int proto) |
ACE_NAMESPACE_INLINE_FUNCTION struct protoent * | getprotobynumber_r (int proto, struct protoent *result, ACE_PROTOENT_DATA buffer) |
ACE_NAMESPACE_INLINE_FUNCTION struct servent * | getservbyname (const char *svc, const char *proto) |
ACE_NAMESPACE_INLINE_FUNCTION struct servent * | getservbyname_r (const char *svc, const char *proto, struct servent *result, ACE_SERVENT_DATA buf) |
ACE_NAMESPACE_INLINE_FUNCTION int | poll (struct pollfd *pollfds, unsigned long len, const ACE_Time_Value *tv=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | poll (struct pollfd *pollfds, unsigned long len, const ACE_Time_Value &tv) |
ACE_NAMESPACE_INLINE_FUNCTION void | clearerr (FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION int | fclose (FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION FILE * | fdopen (ACE_HANDLE handle, const ACE_TCHAR *mode) |
ACE_NAMESPACE_INLINE_FUNCTION int | fflush (FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION int | fgetc (FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION int | fgetpos (FILE *fp, fpos_t *pos) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | fgets (ACE_TCHAR *buf, int size, FILE *fp) |
ACE_Export FILE * | fopen (const ACE_TCHAR *filename, const ACE_TCHAR *mode) |
ACE_NAMESPACE_INLINE_FUNCTION LPSECURITY_ATTRIBUTES | default_win32_security_attributes (LPSECURITY_ATTRIBUTES) |
Default Win32 Security Attributes definition. | |
ACE_NAMESPACE_INLINE_FUNCTION const OSVERSIONINFO & | get_win32_versioninfo (void) |
Return the win32 OSVERSIONINFO structure. | |
ACE_NAMESPACE_INLINE_FUNCTION HINSTANCE | get_win32_resource_module (void) |
ACE_NAMESPACE_INLINE_FUNCTION void | set_win32_resource_module (HINSTANCE) |
ACE_NAMESPACE_INLINE_FUNCTION void | fopen_mode_to_open_mode_converter (ACE_TCHAR x, int &hmode) |
ACE_Export int | fprintf (FILE *fp, const char *format,...) |
ACE_Export int | fprintf (FILE *fp, const wchar_t *format,...) |
ACE_NAMESPACE_INLINE_FUNCTION int | fputs (const ACE_TCHAR *s, FILE *stream) |
ACE_NAMESPACE_INLINE_FUNCTION size_t | fread (void *ptr, size_t size, size_t nelems, FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION FILE * | freopen (const ACE_TCHAR *filename, const ACE_TCHAR *mode, FILE *stream) |
ACE_NAMESPACE_INLINE_FUNCTION int | fseek (FILE *fp, long offset, int ptrname) |
ACE_NAMESPACE_INLINE_FUNCTION int | fsetpos (FILE *fp, fpos_t *pos) |
ACE_NAMESPACE_INLINE_FUNCTION long | ftell (FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION size_t | fwrite (const void *ptr, size_t size, size_t nitems, FILE *fp) |
ACE_Export char * | gets (char *str, int n=0) |
ACE_NAMESPACE_INLINE_FUNCTION void | perror (const ACE_TCHAR *s) |
ACE_Export int | printf (const char *format,...) |
ACE_NAMESPACE_INLINE_FUNCTION int | puts (const ACE_TCHAR *s) |
ACE_NAMESPACE_INLINE_FUNCTION int | rename (const ACE_TCHAR *old_name, const ACE_TCHAR *new_name, int flags=-1) |
ACE_NAMESPACE_INLINE_FUNCTION void | rewind (FILE *fp) |
ACE_Export int | snprintf (char *buf, size_t maxlen, const char *format,...) |
ACE_Export int | snprintf (wchar_t *buf, size_t maxlen, const wchar_t *format,...) |
ACE_Export int | sprintf (char *buf, const char *format,...) |
ACE_Export int | sprintf (wchar_t *buf, const wchar_t *format,...) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | tempnam (const ACE_TCHAR *dir=0, const ACE_TCHAR *pfx=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | vsprintf (char *buffer, const char *format, va_list argptr) |
ACE_NAMESPACE_INLINE_FUNCTION int | vsprintf (wchar_t *buffer, const wchar_t *format, va_list argptr) |
ACE_NAMESPACE_INLINE_FUNCTION char * | strtok_r (char *s, const char *tokens, char **lasts) |
Finds the next token in a string (safe char version). | |
ACE_NAMESPACE_INLINE_FUNCTION wchar_t * | strtok_r (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts) |
Finds the next token in a string (wchar_t version). | |
ACE_Export char * | strtok_r_emulation (char *s, const char *tokens, char **lasts) |
Emulated strtok_r. | |
ACE_Export wchar_t * | strtok_r_emulation (ACE_WCHAR_T *s, const ACE_WCHAR_T *tokens, ACE_WCHAR_T **lasts) |
Emulated strtok_r (wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strcasecmp (const char *s, const char *t) |
Compares two strings (case insensitive const char version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strcasecmp (const wchar_t *s, const wchar_t *t) |
Compares two strings (case insensitive const wchar_t version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strncasecmp (const char *s, const char *t, size_t len) |
Compares two arrays (case insensitive const char version). | |
ACE_NAMESPACE_INLINE_FUNCTION int | strncasecmp (const wchar_t *s, const wchar_t *t, size_t len) |
Compares two arrays (case insensitive const wchar_t version). | |
ACE_Export int | strcasecmp_emulation (const char *s, const char *t) |
Emulated strcasecmp - Performs a case insensitive comparison of strings. | |
ACE_Export int | strncasecmp_emulation (const char *s, const char *t, size_t len) |
Emulated strncasecmp - Performs a case insensitvie comparison of arrays. | |
ACE_NAMESPACE_INLINE_FUNCTION int | getmsg (ACE_HANDLE handle, struct strbuf *ctl, struct strbuf *data, int *flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | getpmsg (ACE_HANDLE handle, struct strbuf *ctl, struct strbuf *data, int *band, int *flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | fattach (int handle, const char *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | fdetach (const char *file) |
ACE_NAMESPACE_INLINE_FUNCTION int | ioctl (ACE_HANDLE handle, int cmd, void *=0) |
UNIX-style <ioctl>. | |
ACE_Export int | ioctl (ACE_HANDLE socket, unsigned long io_control_code, void *in_buffer_p, unsigned long in_buffer, void *out_buffer_p, unsigned long out_buffer, unsigned long *bytes_returned, ACE_OVERLAPPED *overlapped, ACE_OVERLAPPED_COMPLETION_FUNC func) |
QoS-enabled <ioctl>. | |
ACE_Export int | ioctl (ACE_HANDLE socket, unsigned long io_control_code, ACE_QoS &ace_qos, unsigned long *bytes_returned, void *buffer_p=0, unsigned long buffer=0, ACE_OVERLAPPED *overlapped=0, ACE_OVERLAPPED_COMPLETION_FUNC func=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | isastream (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | putmsg (ACE_HANDLE handle, const struct strbuf *ctl, const struct strbuf *data, int flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | putpmsg (ACE_HANDLE handle, const struct strbuf *ctl, const struct strbuf *data, int band, int flags) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | shm_open (const ACE_TCHAR *filename, int mode, int perms=0, LPSECURITY_ATTRIBUTES sa=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | shm_unlink (const ACE_TCHAR *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | getrlimit (int resource, struct rlimit *rl) |
ACE_NAMESPACE_INLINE_FUNCTION int | getrusage (int who, struct rusage *rusage) |
ACE_NAMESPACE_INLINE_FUNCTION int | setrlimit (int resource, ACE_SETRLIMIT_TYPE *rl) |
ACE_NAMESPACE_INLINE_FUNCTION int | select (int width, fd_set *rfds, fd_set *wfds=0, fd_set *efds=0, const ACE_Time_Value *tv=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | select (int width, fd_set *rfds, fd_set *wfds, fd_set *efds, const ACE_Time_Value &tv) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | creat (const ACE_TCHAR *filename, mode_t mode) |
ACE_NAMESPACE_INLINE_FUNCTION int | fstat (ACE_HANDLE, ACE_stat *) |
ACE_NAMESPACE_INLINE_FUNCTION int | lstat (const ACE_TCHAR *, ACE_stat *) |
ACE_NAMESPACE_INLINE_FUNCTION int | mkdir (const ACE_TCHAR *path, mode_t mode=ACE_DEFAULT_DIR_PERMS) |
ACE_NAMESPACE_INLINE_FUNCTION int | mkfifo (const ACE_TCHAR *file, mode_t mode=ACE_DEFAULT_FILE_PERMS) |
ACE_NAMESPACE_INLINE_FUNCTION int | stat (const ACE_TCHAR *file, ACE_stat *) |
ACE_NAMESPACE_INLINE_FUNCTION mode_t | umask (mode_t cmask) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_Time_Value | gettimeofday (void) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | readv (ACE_HANDLE handle, iovec *iov, int iovlen) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | writev (ACE_HANDLE handle, const iovec *iov, int iovcnt) |
ACE_Export int | uname (ACE_utsname *name) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | wait (int *=0) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | wait (pid_t pid, ACE_exitcode *status, int wait_options=0, ACE_HANDLE handle=0) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | waitpid (pid_t pid, ACE_exitcode *status=0, int wait_options=0, ACE_HANDLE handle=0) |
ACE_Export void | cleanup_tss (const u_int main_thread) |
ACE_Export int | lwp_getparams (ACE_Sched_Params &) |
ACE_Export int | lwp_setparams (const ACE_Sched_Params &) |
ACE_NAMESPACE_INLINE_FUNCTION int | priority_control (ACE_idtype_t, ACE_id_t, int, void *) |
Low-level interface to <priocntl>(2). | |
ACE_Export int | scheduling_class (const char *class_name, ACE_id_t &) |
Find the schedling class ID that corresponds to the class name. | |
ACE_Export int | set_scheduling_params (const ACE_Sched_Params &, ACE_id_t id=ACE_SELF) |
Friendly interface to <priocntl>(2). | |
ACE_NAMESPACE_INLINE_FUNCTION int | sigtimedwait (const sigset_t *set, siginfo_t *info, const ACE_Time_Value *timeout) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigwait (sigset_t *set, int *sig=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | sigwaitinfo (const sigset_t *set, siginfo_t *info) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_cancel (ACE_thread_t t_id) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_cmp (ACE_hthread_t t1, ACE_hthread_t t2) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_continue (ACE_hthread_t target_thread) |
ACE_Export int | thr_create (ACE_THR_FUNC func, void *args, long flags, ACE_thread_t *thr_id, ACE_hthread_t *t_handle=0, long priority=ACE_DEFAULT_THREAD_PRIORITY, void *stack=0, size_t stacksize=0, ACE_Base_Thread_Adapter *thread_adapter=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_equal (ACE_thread_t t1, ACE_thread_t t2) |
ACE_Export void | thr_exit (ACE_THR_FUNC_RETURN status=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_getconcurrency (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_getprio (ACE_hthread_t id, int &priority) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_getprio (ACE_hthread_t id, int &priority, int &policy) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_getspecific (ACE_thread_key_t key, void **data) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_join (ACE_hthread_t waiter_id, ACE_THR_FUNC_RETURN *status) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_join (ACE_thread_t waiter_id, ACE_thread_t *thr_id, ACE_THR_FUNC_RETURN *status) |
ACE_Export int | thr_key_detach (void *inst) |
ACE_Export int | thr_key_used (ACE_thread_key_t key) |
ACE_Export int | thr_keycreate (ACE_thread_key_t *key, ACE_THR_DEST, void *inst=0) |
ACE_Export int | thr_keyfree (ACE_thread_key_t key) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_kill (ACE_thread_t thr_id, int signum) |
ACE_NAMESPACE_INLINE_FUNCTION size_t | thr_min_stack (void) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_thread_t | thr_self (void) |
ACE_NAMESPACE_INLINE_FUNCTION void | thr_self (ACE_hthread_t &) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_setcancelstate (int new_state, int *old_state) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_setcanceltype (int new_type, int *old_type) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_setconcurrency (int hint) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_setprio (ACE_hthread_t id, int priority, int policy=-1) |
ACE_Export int | thr_setprio (const ACE_Sched_Priority prio) |
ACE_Export int | thr_setspecific (ACE_thread_key_t key, void *data) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_sigsetmask (int how, const sigset_t *nsm, sigset_t *osm) |
ACE_NAMESPACE_INLINE_FUNCTION int | thr_suspend (ACE_hthread_t target_thread) |
ACE_NAMESPACE_INLINE_FUNCTION void | thr_testcancel (void) |
ACE_NAMESPACE_INLINE_FUNCTION void | thr_yield (void) |
ACE_Export void | unique_name (const void *object, ACE_TCHAR *name, size_t length) |
ACE_NAMESPACE_INLINE_FUNCTION int | access (const char *path, int amode) |
ACE_NAMESPACE_INLINE_FUNCTION int | access (const wchar_t *path, int amode) |
ACE_NAMESPACE_INLINE_FUNCTION unsigned int | alarm (u_int secs) |
ACE_NAMESPACE_INLINE_FUNCTION int | allocation_granularity (void) |
ACE_Export int | argv_to_string (ACE_TCHAR **argv, ACE_TCHAR *&buf, int substitute_env_args=1) |
ACE_NAMESPACE_INLINE_FUNCTION int | chdir (const char *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | chdir (const wchar_t *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | rmdir (const ACE_TCHAR *path) |
ACE_NAMESPACE_INLINE_FUNCTION int | close (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | dup (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | dup2 (ACE_HANDLE oldfd, ACE_HANDLE newfd) |
ACE_Export int | execl (const char *path, const char *arg0,...) |
ACE_Export int | execle (const char *path, const char *arg0,...) |
ACE_Export int | execlp (const char *file, const char *arg0,...) |
ACE_NAMESPACE_INLINE_FUNCTION int | execv (const char *path, char *const argv[]) |
ACE_NAMESPACE_INLINE_FUNCTION int | execve (const char *path, char *const argv[], char *const envp[]) |
ACE_NAMESPACE_INLINE_FUNCTION int | execvp (const char *file, char *const argv[]) |
ACE_NAMESPACE_INLINE_FUNCTION int | fsync (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | ftruncate (ACE_HANDLE, off_t) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_TCHAR * | getcwd (ACE_TCHAR *, size_t) |
ACE_NAMESPACE_INLINE_FUNCTION gid_t | getgid (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | getopt (int argc, char *const *argv, const char *optstring) |
ACE_NAMESPACE_INLINE_FUNCTION int | getpagesize (void) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | getpgid (pid_t pid) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | getpid (void) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | getppid (void) |
ACE_NAMESPACE_INLINE_FUNCTION uid_t | getuid (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | hostname (char *name, size_t maxnamelen) |
ACE_NAMESPACE_INLINE_FUNCTION int | hostname (wchar_t *name, size_t maxnamelen) |
ACE_NAMESPACE_INLINE_FUNCTION int | isatty (int handle) |
ACE_NAMESPACE_INLINE_FUNCTION int | isatty (ACE_HANDLE handle) |
ACE_NAMESPACE_INLINE_FUNCTION off_t | lseek (ACE_HANDLE handle, off_t offset, int whence) |
ACE_Export long | num_processors (void) |
Get the number of CPUs configured in the machine. | |
ACE_Export long | num_processors_online (void) |
Get the number of CPUs currently online. | |
ACE_NAMESPACE_INLINE_FUNCTION int | pipe (ACE_HANDLE handles[]) |
ACE_Export ssize_t | pread (ACE_HANDLE handle, void *buf, size_t nbyte, off_t offset) |
ACE_Export ssize_t | pwrite (ACE_HANDLE handle, const void *buf, size_t nbyte, off_t offset) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | read (ACE_HANDLE handle, void *buf, size_t len) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | read (ACE_HANDLE handle, void *buf, size_t len, ACE_OVERLAPPED *) |
ACE_Export ssize_t | read_n (ACE_HANDLE handle, void *buf, size_t len, size_t *bytes_transferred=0) |
ACE_NAMESPACE_INLINE_FUNCTION int | readlink (const char *path, char *buf, size_t bufsiz) |
ACE_NAMESPACE_INLINE_FUNCTION void * | sbrk (int brk) |
ACE_NAMESPACE_INLINE_FUNCTION int | setgid (gid_t) |
ACE_NAMESPACE_INLINE_FUNCTION int | setpgid (pid_t pid, pid_t pgid) |
ACE_NAMESPACE_INLINE_FUNCTION int | setregid (gid_t rgid, gid_t egid) |
ACE_NAMESPACE_INLINE_FUNCTION int | setreuid (uid_t ruid, uid_t euid) |
ACE_NAMESPACE_INLINE_FUNCTION pid_t | setsid (void) |
ACE_NAMESPACE_INLINE_FUNCTION int | setuid (uid_t) |
ACE_NAMESPACE_INLINE_FUNCTION int | sleep (u_int seconds) |
ACE_NAMESPACE_INLINE_FUNCTION int | sleep (const ACE_Time_Value &tv) |
ACE_Export int | string_to_argv (ACE_TCHAR *buf, int &argc, ACE_TCHAR **&argv, int substitute_env_args=1) |
ACE_NAMESPACE_INLINE_FUNCTION void | swab (const void *src, void *dest, ssize_t n) |
ACE_NAMESPACE_INLINE_FUNCTION long | sysconf (int) |
ACE_NAMESPACE_INLINE_FUNCTION long | sysinfo (int cmd, char *buf, long count) |
ACE_NAMESPACE_INLINE_FUNCTION int | truncate (const ACE_TCHAR *filename, off_t length) |
ACE_NAMESPACE_INLINE_FUNCTION u_int | ualarm (u_int usecs, u_int interval=0) |
ACE_NAMESPACE_INLINE_FUNCTION u_int | ualarm (const ACE_Time_Value &tv, const ACE_Time_Value &tv_interval=ACE_Time_Value::zero) |
ACE_NAMESPACE_INLINE_FUNCTION int | unlink (const ACE_TCHAR *path) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | write (ACE_HANDLE handle, const void *buf, size_t nbyte) |
ACE_NAMESPACE_INLINE_FUNCTION ssize_t | write (ACE_HANDLE handle, const void *buf, size_t nbyte, ACE_OVERLAPPED *) |
ACE_Export ssize_t | write_n (ACE_HANDLE handle, const void *buf, size_t len, size_t *bytes_transferred=0) |
ACE_NAMESPACE_INLINE_FUNCTION wint_t | fgetwc (FILE *fp) |
ACE_Export wchar_t * | wcscat_emulation (wchar_t *destination, const wchar_t *source) |
Emulated wcscat - Appends a string. | |
ACE_Export wchar_t * | wcschr_emulation (const wchar_t *string, wint_t c) |
Emulated wcschr - Finds a character in a string. | |
ACE_Export int | wcscmp_emulation (const ACE_WCHAR_T *string1, const ACE_WCHAR_T *string2) |
Emulated wcscmp - Compares strings. | |
ACE_Export wchar_t * | wcscpy_emulation (wchar_t *destination, const wchar_t *source) |
Emulated wcscpy - Copies a string. | |
ACE_Export size_t | wcscspn_emulation (const wchar_t *string, const wchar_t *reject) |
Emulated wcscspn. | |
ACE_Export int | wcsicmp_emulation (const wchar_t *string1, const wchar_t *string2) |
Emulated wcsicmp - Performs a case insensitive comparison of strings. | |
ACE_Export size_t | wcslen_emulation (const ACE_WCHAR_T *string) |
Emulated wcslen - Returns the length of a string. | |
ACE_Export ACE_WCHAR_T * | wcsncat_emulation (ACE_WCHAR_T *destination, const ACE_WCHAR_T *source, size_t count) |
Emulated wcscat - Appends a string. | |
ACE_Export int | wcsncmp_emulation (const ACE_WCHAR_T *string1, const ACE_WCHAR_T *string2, size_t len) |
Emulated wcsncmp - Compares two arrays. | |
ACE_Export ACE_WCHAR_T * | wcsncpy_emulation (ACE_WCHAR_T *destination, const ACE_WCHAR_T *source, size_t len) |
Emulated wcsncpy - Copies an array. | |
ACE_Export int | wcsnicmp_emulation (const wchar_t *string1, const wchar_t *string2, size_t len) |
ACE_Export wchar_t * | wcspbrk_emulation (const wchar_t *string, const wchar_t *charset) |
Emulated wcspbrk - Searches for characters in a string. | |
ACE_Export wchar_t * | wcsrchr_emulation (wchar_t *string, wint_t c) |
ACE_Export const wchar_t * | wcsrchr_emulation (const wchar_t *string, wint_t c) |
ACE_Export size_t | wcsspn_emulation (const wchar_t *string, const wchar_t *charset) |
Emulated wcsspn. | |
ACE_Export wchar_t * | wcsstr_emulation (const wchar_t *string, const wchar_t *charset) |
Emulated wcsstr - Performs a case insensitive comparison of two strings. | |
ACE_NAMESPACE_INLINE_FUNCTION u_int | wslen (const WChar *) |
ACE_NAMESPACE_INLINE_FUNCTION WChar * | wscpy (WChar *, const WChar *) |
ACE_NAMESPACE_INLINE_FUNCTION int | wscmp (const WChar *, const WChar *) |
ACE_NAMESPACE_INLINE_FUNCTION int | wsncmp (const WChar *, const WChar *, size_t len) |
ACE_NAMESPACE_INLINE_FUNCTION wint_t | ungetwc (wint_t c, FILE *fp) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_accept (ACE_HANDLE fildes, ACE_HANDLE resfd, struct t_call *call) |
ACE_NAMESPACE_INLINE_FUNCTION char * | t_alloc (ACE_HANDLE fildes, int struct_type, int fields) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_bind (ACE_HANDLE fildes, struct t_bind *req, struct t_bind *ret) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_close (ACE_HANDLE fildes) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_connect (ACE_HANDLE fildes, struct t_call *sndcall, struct t_call *rcvcall) |
ACE_NAMESPACE_INLINE_FUNCTION void | t_error (const char *errmsg) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_free (char *ptr, int struct_type) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_getinfo (ACE_HANDLE fildes, struct t_info *info) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_getname (ACE_HANDLE fildes, struct netbuf *namep, int type) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_getstate (ACE_HANDLE fildes) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_listen (ACE_HANDLE fildes, struct t_call *call) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_look (ACE_HANDLE fildes) |
ACE_NAMESPACE_INLINE_FUNCTION ACE_HANDLE | t_open (char *path, int oflag, struct t_info *info) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_optmgmt (ACE_HANDLE handle, struct t_optmgmt *req, struct t_optmgmt *ret) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_rcv (ACE_HANDLE fildes, char *buf, unsigned int nbytes, int *flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_rcvdis (ACE_HANDLE fildes, struct t_discon *discon) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_rcvrel (ACE_HANDLE fildes) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_rcvudata (ACE_HANDLE fildes, struct t_unitdata *unitdata, int *flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_rcvuderr (ACE_HANDLE fildes, struct t_uderr *uderr) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_snd (ACE_HANDLE fildes, const char *buf, unsigned int nbytes, int flags) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_snddis (ACE_HANDLE fildes, struct t_call *call) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_sndrel (ACE_HANDLE fildes) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_sync (ACE_HANDLE fildes) |
ACE_NAMESPACE_INLINE_FUNCTION int | t_unbind (ACE_HANDLE fildes) |
Variables | |
ACE_Export OSVERSIONINFO | win32_versioninfo_ |
ACE_Export HINSTANCE | win32_resource_module_ |
ACE_Export int | socket_initialized_ |
Keeps track of whether we've already initialized WinSock... |
This class encapsulates the differences between various OS platforms. When porting ACE to a new platform, this class is the place to focus on. Once this file is ported to a new platform, pretty much everything else comes for "free." See <www.cs.wustl.edu/~schmidt/ACE_wrappers/etc/ACE-porting.html> for instructions on porting ACE. Please see the README file in this directory for complete information on the meaning of the various macros.
|
|
|
|
|
|
|
|
|
QoS-enabled <accept>, which passes <qos_params> to <accept>. If the OS platform doesn't support QoS-enabled <accept> then the <qos_params> are ignored and the BSD-style <accept> is called. |
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
Returns true if the character is a printable character.
|
|
Returns true if the character is a space character.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
This method computes the smallest integral value not less than x.
|
|
|
|
|
|
Call TSS destructors for the current thread. If the current thread is the main thread, then the argument must be 1. For private use of ACE_Object_Manager and ACE_Thread_Adapter only. |
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QoS-enabled <connect>, which passes <qos_params> to <connect>. If the OS platform doesn't support QoS-enabled <connect> then the <qos_params> are ignored and the BSD-style <connect> is called. |
|
BSD-style <connect> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
Default Win32 Security Attributes definition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Retrieve information about available transport protocols installed on the local machine. Windows specific... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method computes the largest integral value not greater than x.
|
|
|
|
Translate fopen's mode char to open's mode. This helper function is here to avoid maintaining several pieces of identical code. |
|
Forks and exec's a process in a manner that works on Solaris and NT. argv[0] must be the full path name to the executable. |
|
Forks and exec's a process in a manner that works on Solaris and NT. argv[0] must be the full path name to the executable. |
|
Forks and exec's a process in a manner that works on Solaris and NT. argv[0] must be the full path name to the executable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return the handle of the module containing ACE's resources. By default, for a DLL build of ACE this is a handle to the ACE DLL itself, and for a static build it is a handle to the executable. |
|
Return the win32 OSVERSIONINFO structure.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
QoS-enabled <ioctl> when the I/O control code is either SIO_SET_QOS or SIO_GET_QOS. |
|
QoS-enabled <ioctl>.
|
|
UNIX-style <ioctl>.
|
|
|
|
|
|
|
|
Converts an integer to a string.
|
|
Converts an integer to a string.
|
|
Emulated itoa - Converts an integer to a string.
|
|
Emulated itow - Converts an integer to a string.
|
|
Joins a leaf node into a QoS-enabled multi-point session.
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Finds characters in a buffer (void version).
|
|
Finds characters in a buffer (const void version).
|
|
Emulated memchr - Finds a character in a buffer.
|
|
Compares two buffers.
|
|
Copies one buffer to another.
|
|
Moves one buffer to another.
|
|
Fills a buffer with a character value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If <timeout> == 0, calls <ACE_OS::mutex_lock(m)>. Otherwise, this method attempts to acquire a lock, but gives up if the lock has not been acquired by the given time, in which case it returns -1 with an <ETIME> errno on platforms that actually support timed mutexes. The timeout should be an absolute time. Note that the mutex should not be a recursive one, i.e., it should only be a standard mutex or an error checking mutex. |
|
This method attempts to acquire a lock, but gives up if the lock has not been acquired by the given time. If the lock is not acquired within the given amount of time, then this method returns -1 with an <ETIME> errno on platforms that actually support timed mutexes. The timeout should be an absolute time. Note that the mutex should not be a recursive one, i.e., it should only be a standard mutex or an error checking mutex. |
|
This method is only implemented for Win32. For abandoned mutexes, <abandoned> is set to 1 and 0 is returned. |
|
Win32 note: Abandoned mutexes are not treated differently. 0 is returned since the calling thread does get the ownership. |
|
Handle asynchronous thread cancellation cleanup.
|
|
This method is only implemented for Win32. For abandoned mutexes, <abandoned> is set to 1 and 0 is returned. |
|
Win32 note: Abandoned mutexes are not treated differently. 0 is returned since the calling thread does get the ownership. |
|
|
|
|
|
Get the number of CPUs configured in the machine.
|
|
Get the number of CPUs currently online.
|
|
|
|
The O_APPEND flag is only partly supported on Win32. If you specify O_APPEND, then the file pointer will be positioned at the end of the file initially during open, but it is not re-positioned at the end prior to each write, as specified by POSIX. This is generally good enough for typical situations, but it is ``not quite right'' in its semantics. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Low-level interface to <priocntl>(2). Can't call the following priocntl, because that's a macro on Solaris. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Receive <len> bytes into <buf> from <handle> (uses the <ACE_OS::read> call, which uses the <read> system call on UNIX and the <ReadFile> call on Win32). If errors occur, -1 is returned. If EOF occurs, 0 is returned. Whatever data has been read will be returned to the caller through<bytes_transferred>. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set scheduling parameters. An id of ACE_SELF indicates, e.g., set the parameters on the calling thread. |
|
Find the schedling class ID that corresponds to the class name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
For use by ACE_Object_Manager only, to register its exit hook..
|
|
Friendly interface to <priocntl>(2).
|
|
Allow an application to modify which module contains ACE's resources. This is mainly useful for a static build of ACE where the required resources reside somewhere other than the executable. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Manipulate the options associated with a socket.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Create a QoS-enabled socket. If the OS platform doesn't support QoS-enabled <socket> then the BSD-style <socket> is called. |
|
Create a BSD-style socket (no QoS).
|
|
Finalize WinSock after last use (e.g., when a DLL is unloaded).
|
|
Initialize WinSock before first use (e.g., when a DLL is first loaded or the first use of a socket() call. |
|
BSD-style <accept> (no QoS).
|
|
|
|
|
|
|
|
|
|
|
|
Compares two strings (case insensitive const wchar_t version).
|
|
Compares two strings (case insensitive const char version).
|
|
Emulated strcasecmp - Performs a case insensitive comparison of strings.
|
|
Appends a string to another string (wchar_t version).
|
|
Appends a string to another string (char version).
|
|
Finds the first occurance of a character in a string (wchar_t version).
|
|
Finds the first occurance of a character in a string (char version).
|
|
Finds the first occurance of a character in a string (const wchar_t version). |
|
Finds the first occurance of a character in a string (const char version). |
|
Emulated strchr (const char version) - Finds the first occurance of a character in a string. |
|
Emulated strchr (char version) - Finds the first occurance of a character in a string. |
|
Compares two strings (wchar_t version).
|
|
Compares two strings (char version).
|
|
Copies a string (wchar_t version).
|
|
Copies a string (char version).
|
|
Searches for the first substring without any of the specified characters and returns the size of the substring (wchar_t version). |
|
Searches for the first substring without any of the specified characters and returns the size of the substring (char version). |
|
Emulated strcspn - Finds a substring in a string.
|
|
Returns a malloced duplicated string (wchar_t version).
|
|
Returns a malloced duplicated string (char version).
|
|
Copies a string, but returns a pointer to the end of the copied region (wchar_t version). |
|
Copies a string, but returns a pointer to the end of the copied region (char version). |
|
|
|
Returns a system error message.
|
|
|
|
|
|
Finds the length of a string (ACE_WCHAR_T version).
|
|
Finds the length of a string (char version).
|
|
Compares two arrays (case insensitive const wchar_t version).
|
|
Compares two arrays (case insensitive const char version).
|
|
Emulated strncasecmp - Performs a case insensitvie comparison of arrays.
|
|
Appends part of a string to another string (wchar_t version).
|
|
Appends part of a string to another string (char version).
|
|
Finds the first occurance of a character in an array (ACE_WCHAR_T version).
|
|
Finds the first occurance of a character in an array (char version).
|
|
Finds the first occurance of a character in an array (const ACE_WCHAR_T version). |
|
Finds the first occurance of a character in an array (const char version). |
|
Compares two arrays (wchar_t version).
|
|
Compares two arrays (char version).
|
|
Copies an array (ACE_WCHAR_T version).
|
|
Copies an array (char version).
|
|
Finds the length of a limited-length string (ACE_WCHAR_T version).
|
|
Finds the length of a limited-length string (char version).
|
|
Finds the first occurance of a substring in an array (wchar_t version).
|
|
Finds the first occurance of a substring in an array (char version).
|
|
Finds the first occurance of a substring in an array (const wchar_t version). |
|
Finds the first occurance of a substring in an array (const char version). |
|
Searches for characters in a string (wchar_t version).
|
|
Searches for characters in a string (char version).
|
|
Searches for characters in a string (const wchar_t version).
|
|
Searches for characters in a string (const char version).
|
|
|
|
Finds the last occurance of a character in a string (wchar_t version).
|
|
Finds the last occurance of a character in a string (char version).
|
|
Finds the last occurance of a character in a string (const wchar_t version). |
|
Finds the last occurance of a character in a string (const char version). |
|
Emulated strrchr (const char version) - Finds the last occurance of a character in a string. |
|
Emulated strrchr (char version) - Finds the last occurance of a character in a string. |
|
This is a "safe" c string copy function (wchar_t version). Unlike strncpy() this function will always add a terminating '\0' char if maxlen > 0. So the user doesn't has to provide an extra '\0' if the user wants a '\0' terminated dst. The function doesn't check for a 0 <dst>, because this will give problems anyway. When <src> is 0 an empty string is made. We do not "touch" *<dst> if maxlen is 0. Returns <dst>. Care should be taken when replacing strncpy() calls, because in some cases a strncpy() user is using the "not '\0' terminating" feature from strncpy(). This happens most when the call to strncpy() was optimized by using a maxlen which is 1 smaller than the size because there's always written a '\0' inside this last position. Very seldom it's possible that the '\0' padding feature from strncpy() is needed. |
|
This is a "safe" c string copy function (char version). Unlike strncpy() this function will always add a terminating '\0' char if maxlen > 0. So the user doesn't has to provide an extra '\0' if the user wants a '\0' terminated dst. The function doesn't check for a 0 <dst>, because this will give problems anyway. When <src> is 0 an empty string is made. We do not "touch" *<dst> if maxlen is 0. Returns <dst>. Care should be taken when replacing strncpy() calls, because in some cases a strncpy() user is using the "not '\0' terminating" feature from strncpy(). This happens most when the call to strncpy() was optimized by using a maxlen which is 1 smaller than the size because there's always written a '\0' inside this last position. Very seldom it's possible that the '\0' padding feature from strncpy() is needed. |
|
Searches for the first substring containing only the specified characters and returns the size of the substring (wchar_t version). |
|
Searches for the first substring containing only the specified characters and returns the size of the substring (char version). |
|
Finds the first occurance of a substring in a string (wchar_t version).
|
|
Finds the first occurance of a substring in a string (char version).
|
|
Finds the first occurance of a substring in a string (const wchar_t version). |
|
Finds the first occurance of a substring in a string (const char version). |
|
Converts a string to a double value (wchar_t version).
|
|
Converts a string to a double value (char version).
|
|
Finds the next token in a string (wchar_t version).
|
|
Finds the next token in a string (char version).
|
|
Finds the next token in a string (wchar_t version).
|
|
Finds the next token in a string (safe char version).
|
|
Emulated strtok_r (wchar_t version).
|
|
Emulated strtok_r.
|
|
Converts a string to a long value (wchar_t version).
|
|
Converts a string to a long value (char version).
|
|
Converts a string to an unsigned long value (wchar_t version).
|
|
Converts a string to an unsigned long value (char version).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Converts a character to lower case (wchar_t version).
|
|
Converts a character to lower case (char version).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method uses process id and object pointer to come up with a machine wide unique name. The process ID will provide uniqueness between processes on the same machine. The "this" pointer of the <object> will provide uniqueness between other "live" objects in the same process. The uniqueness of this name is therefore only valid for the life of <object>. |
|
|
|
|
|
|
|
Calls <WaitForSingleObject> on Win32 and <ACE::waitpid> otherwise. Returns the passed in <pid_t> on success and -1 on failure. On Win32, <pid> is ignored if the <handle> is not equal to 0. Passing the process <handle> is prefer on Win32 because using <pid> to wait on the project doesn't always work correctly if the waited process has already terminated. |
|
Calls OS <wait> function, so it's only portable to UNIX/POSIX platforms. |
|
Calls <waitpid> on UNIX/POSIX platforms and <await> on Chorus. Does not work on Vxworks, or pSoS. On Win32, <pid> is ignored if the <handle> is not equal to 0. Passing the process <handle> is prefer on Win32 because using <pid> to wait on the project doesn't always work correctly if the waited process has already terminated. |
|
Emulated wcscat - Appends a string.
|
|
Emulated wcschr - Finds a character in a string.
|
|
Emulated wcscmp - Compares strings.
|
|
Emulated wcscpy - Copies a string.
|
|
Emulated wcscspn.
|
|
Emulated wcsicmp - Performs a case insensitive comparison of strings.
|
|
Emulated wcslen - Returns the length of a string.
|
|
Emulated wcscat - Appends a string.
|
|
Emulated wcsncmp - Compares two arrays.
|
|
Emulated wcsncpy - Copies an array.
|
|
Emulated wcsnicmp - Performs a case insensitive comparison of two arrays |
|
Emulated wcspbrk - Searches for characters in a string.
|
|
Emulated wcsrchr (const wchar_t version) - Finds the last occurance of a character in a string. |
|
Emulated wcsrchr (wchar_t version) - Finds the last occurance of a character in a string. |
|
Emulated wcsspn.
|
|
Emulated wcsstr - Performs a case insensitive comparison of two strings.
|
|
|
|
|
|
Send <len> bytes from <buf> to <handle> (uses the <ACE_OS::write> calls, which is uses the <write> system call on UNIX and the <WriteFile> call on Win32). If errors occur, -1 is returned. If EOF occurs, 0 is returned. Whatever data has been transmitted will be returned to the caller through <bytes_transferred>. |
|
|
|
|
|
|
|
|
|
|
|
Function that is called by <ACE_OS::exit>, if non-null.
|
|
This is necessary to deal with POSIX pthreads and their use of structures for thread handles. |
|
This is necessary to deal with POSIX pthreads and their use of structures for TSS keys. |
|
This is necessary to deal with POSIX pthreads and their use of structures for thread ids. |
|
Keeps track of whether we've already initialized WinSock...
|
|
|
|
|