Changeset 8561 in vbox for trunk/src/VBox/Runtime/r3/posix
- Timestamp:
- May 5, 2008 10:13:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/fileio-posix.cpp
r8245 r8561 215 215 216 216 217 RTR3DECL(int) RTFileFromNative(PRTFILE pFile, RTHCINTPTR uNative) 218 { 219 if ( uNative < 0 220 || (RTFILE)uNative != (RTUINTPTR)uNative) 221 { 222 AssertMsgFailed(("%p\n", uNative)); 223 *pFile = NIL_RTFILE; 224 return VERR_INVALID_HANDLE; 225 } 226 *pFile = (RTFILE)uNative; 227 return VINF_SUCCESS; 228 } 229 230 231 RTR3DECL(RTHCINTPTR) RTFileToNative(RTFILE File) 232 { 233 AssertReturn(File != NIL_RTFILE, -1); 234 return (RTHCINTPTR)File; 235 } 236 237 217 238 RTR3DECL(int) RTFileDelete(const char *pszFilename) 218 239 {
Note:
See TracChangeset
for help on using the changeset viewer.