#include "ace/config-all.h"
Include dependency graph for OS_NS_macros.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | ACE_SOCKCALL_RETURN(OP, TYPE, FAILVALUE) |
#define | ACE_SOCKCALL(OP, TYPE, FAILVALUE, RESULT) |
#define | ACE_ADAPT_RETVAL(OP, RESULT) ((RESULT = (OP)) == FALSE ? -1 : 0) |
#define | ACE_FAIL_RETURN(RESULT) |
#define | ACE_LOW_PART(X) X |
#define | ACE_HIGH_PART(X) 0 |
#define | ACE_COMBINE_PARTS(X, Y) X |
Jesper S. M|ller<stophph@diku.dk>
and a cast of thousands...
Definition in file OS_NS_macros.h.
|
|
Definition at line 106 of file OS_NS_macros.h. |
|
Value: do { \ switch (ACE_OS::set_errno_to_last_error ()) { \ case ERROR_NOT_ENOUGH_MEMORY: errno = ENOMEM; break; \ case ERROR_FILE_EXISTS: errno = EEXIST; break; \ case ERROR_SHARING_VIOLATION: errno = EACCES; break; \ case ERROR_PATH_NOT_FOUND: errno = ENOENT; break; \ } \ return RESULT; } while (0) Definition at line 61 of file OS_NS_macros.h. Referenced by ACE_OS::cuserid(), ACE_OS::dup(), ACE_OS::event_init(), ACE_OS::ftruncate(), ACE_OS::lseek(), ACE_OS::mmap(), ACE_OS::mutex_init(), ACE_OS::open(), ACE_OS::read(), ACE_OS::rename(), ACE_OS::sema_init(), ACE_OS::thr_continue(), ACE_OS::thr_create(), ACE_OS::thr_getprio(), ACE_OS::thr_join(), ACE_OS::thr_suspend(), ACE_OS::truncate(), and ACE_OS::write(). |
|
Definition at line 105 of file OS_NS_macros.h. Referenced by ACE_OS::flock_adjust_params(), ACE_OS::flock_rdlock(), ACE_OS::flock_tryrdlock(), ACE_OS::flock_trywrlock(), ACE_OS::flock_unlock(), ACE_OS::flock_wrlock(), ACE_OS::lseek(), ACE_OS::mmap(), ACE_OS::pread(), and ACE_OS::truncate(). |
|
Definition at line 104 of file OS_NS_macros.h. Referenced by ACE_OS::flock_adjust_params(), ACE_OS::flock_rdlock(), ACE_OS::flock_tryrdlock(), ACE_OS::flock_trywrlock(), ACE_OS::flock_unlock(), ACE_OS::flock_wrlock(), ACE_OS::lseek(), ACE_OS::mmap(), ACE_OS::pread(), and ACE_OS::truncate(). |
|
Value: do { RESULT = (TYPE) OP; \ if (RESULT == FAILVALUE) { int ___ = ::WSAGetLastError (); errno = ___; RESULT = FAILVALUE; } \ } while (0) Definition at line 33 of file OS_NS_macros.h. Referenced by ACE_OS::getpeername(), ACE_OS::getsockname(), and ACE_OS::setsockopt(). |
|
Value: do { TYPE ace_result_ = (TYPE) OP; \ if (ace_result_ == FAILVALUE) { int ___ = ::WSAGetLastError (); errno = ___; return (TYPE) FAILVALUE; } else return ace_result_; \ } while (0) Definition at line 29 of file OS_NS_macros.h. Referenced by ACE_OS::accept(), ACE_OS::bind(), ACE_OS::closesocket(), ACE_OS::connect(), ACE_OS::enum_protocols(), ACE_OS::gethostbyaddr(), ACE_OS::gethostbyaddr_r(), ACE_OS::gethostbyname(), ACE_OS::gethostbyname_r(), ACE_OS::getipnodebyname(), ACE_OS::getpeername(), ACE_OS::getprotobyname(), ACE_OS::getprotobyname_r(), ACE_OS::getprotobynumber(), ACE_OS::getprotobynumber_r(), ACE_OS::getservbyname(), ACE_OS::getservbyname_r(), ACE_OS::getsockname(), ACE_OS::getsockopt(), ACE_OS::ioctl(), ACE_OS::join_leaf(), ACE_OS::listen(), ACE_OS::recv(), ACE_OS::recvfrom(), ACE_OS::recvmsg(), ACE_OS::select(), ACE_OS::send(), ACE_OS::sendmsg(), ACE_OS::sendto(), ACE_OS::shutdown(), and ACE_OS::socket(). |