Lines Matching refs:APR_FROM_OS_ERROR
57 * @def APR_FROM_OS_ERROR(os_err_type syserr)
64 #define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)
73 * or APR_FROM_OS_ERROR, the results are undefined.
80 * folds it with APR_FROM_OS_ERROR. Some platforms (such as OS2) have no
87 * @param e The OS error folded in a prior call to APR_FROM_OS_ERROR()
90 * or APR_FROM_OS_ERROR, the results are undefined. This macro sets
99 * and folds it with APR_FROM_OS_ERROR.
104 * @param e The socket error folded in a prior call to APR_FROM_OS_ERROR()
107 * or APR_FROM_OS_ERROR, the results are undefined. This macro sets
854 #define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)
863 * should be filtered through APR_FROM_OS_ERROR().
865 * #define apr_get_os_error() (APR_FROM_OS_ERROR(GetLastError()))
871 #define apr_get_netos_error() (APR_FROM_OS_ERROR(errno))
876 #define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e))
1028 #define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)
1031 #define apr_get_os_error() (APR_FROM_OS_ERROR(GetLastError()))
1036 #define apr_get_netos_error() (APR_FROM_OS_ERROR(WSAGetLastError()))
1147 #define APR_FROM_OS_ERROR(e) (e == 0 ? APR_SUCCESS : e + APR_OS_START_SYSERR)
1154 #define apr_get_netos_error() (APR_FROM_OS_ERROR(WSAGetLastError()))
1214 #define APR_FROM_OS_ERROR(e) (e)