Changeset 8288 in vbox for trunk/include
- Timestamp:
- Apr 22, 2008 1:25:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/err.h
r8245 r8288 92 92 * 93 93 * @returns iprt status code. 94 * @param iNativeCode errno code. 94 * @param iNativeCode HRESULT error code. 95 * @remark Darwin ring-3 only. 96 */ 97 RTDECL(int) RTErrConvertFromDarwinCOM(int32_t iNativeCode); 98 99 /** 100 * Converts a Darwin IOReturn error to an iprt status code. 101 * 102 * @returns iprt status code. 103 * @param iNativeCode IOReturn error code. 95 104 * @remark Darwin only. 96 105 */ 97 RTDECL(int) RTErrConvertFromDarwin COM(int32_t iNativeCode);98 99 /** 100 * Converts a Darwin IOReturnerror to an iprt status code.106 RTDECL(int) RTErrConvertFromDarwinIO(int iNativeCode); 107 108 /** 109 * Converts a Darwin kern_return_t error to an iprt status code. 101 110 * 102 111 * @returns iprt status code. 103 * @param iNativeCode errnocode.112 * @param iNativeCode kern_return_t error code. 104 113 * @remark Darwin only. 105 114 */ 106 RTDECL(int) RTErrConvertFromDarwinIO(int iNativeCode); 107 108 /** 109 * Converts a Darwin kern_return_t error to an iprt status code. 115 RTDECL(int) RTErrConvertFromDarwinKern(int iNativeCode); 116 117 /** 118 * Converts a Darwin error to an iprt status code. 119 * 120 * This will consult RTErrConvertFromDarwinKern, RTErrConvertFromDarwinIO 121 * and RTErrConvertFromDarwinCOM in this order. The latter is ring-3 only as it 122 * doesn't apply elsewhere. 110 123 * 111 124 * @returns iprt status code. 112 * @param iNativeCode errno code. 113 * @remark Darwin only. 114 */ 115 RTDECL(int) RTErrConvertFromDarwinKern(int iNativeCode); 125 * @param iNativeCode Darwin error code. 126 * @remarks Darwin only. 127 * @remarks This is recommended over RTErrConvertFromDarwinKern and RTErrConvertFromDarwinIO 128 * since these are really just subsets of the same error space. 129 */ 130 RTDECL(int) RTErrConvertFromDarwin(int iNativeCode); 116 131 117 132 /**
Note:
See TracChangeset
for help on using the changeset viewer.