Changeset 2904
- Timestamp:
- Dec 25, 2006, 2:27:07 PM (19 years ago)
- Location:
- trunk/libc/src/kNIX
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/src/kNIX/filehandles.c
r2805 r2904 1245 1245 int __libc_FHImportFile(uintptr_t hNative, int fh, __LIBC_PFH *ppFH) 1246 1246 { 1247 LIBCLOG_ENTER("hNative=% pfh=%d ppFH=%p\n", hNative, fh, ppFH);1247 LIBCLOG_ENTER("hNative=%tx fh=%d ppFH=%p\n", hNative, fh, ppFH); 1248 1248 int rc = _fmutex_request(&gmtx, 0); 1249 1249 if (rc) … … 1352 1352 int __libc_FHSetFlags(__LIBC_PFH pFH, unsigned fFlags) 1353 1353 { 1354 LIBCLOG_ENTER("pFH=%p fFlags=%#x\n", (void *)pFH, f h, fFlags);1354 LIBCLOG_ENTER("pFH=%p fFlags=%#x\n", (void *)pFH, fFlags); 1355 1355 1356 1356 LIBC_ASSERT(((fFlags & O_NOINHERIT) != 0) == ((fFlags & (FD_CLOEXEC << __LIBC_FH_FDFLAGS_SHIFT)) != 0)); … … 1465 1465 if (pFH->pOps && pFH->pOps->pfnForkParent) 1466 1466 { 1467 rc = pFH->pOps->pfnForkParent(pFH, iFH,pForkHandle, __LIBC_FORK_OP_EXEC_PARENT);1467 rc = pFH->pOps->pfnForkParent(pFH, pForkHandle, __LIBC_FORK_OP_EXEC_PARENT); 1468 1468 if (rc) 1469 1469 { … … 1524 1524 if (pFH->pOps && pFH->pOps->pfnForkParent) 1525 1525 { 1526 rc = pFH->pOps->pfnForkParent(pFH, iFH,pForkHandle, __LIBC_FORK_OP_FORK_PARENT);1526 rc = pFH->pOps->pfnForkParent(pFH, pForkHandle, __LIBC_FORK_OP_FORK_PARENT); 1527 1527 if (rc) 1528 1528 { … … 1588 1588 if (pFH->pOps && pFH->pOps->pfnForkChild) 1589 1589 { 1590 rc = pFH->pOps->pfnForkChild(pFH, iFH,pForkHandle, __LIBC_FORK_OP_FORK_CHILD);1590 rc = pFH->pOps->pfnForkChild(pFH, pForkHandle, __LIBC_FORK_OP_FORK_CHILD); 1591 1591 if (rc) 1592 1592 { -
trunk/libc/src/kNIX/kNIX.h
r2903 r2904 50 50 #include <sys/time.h> 51 51 #include <sys/types.h> 52 #include <sys/syslimits.h> 52 53 #include <klibc/io.h> 53 54 #include <klibc/umalloc.h>
Note:
See TracChangeset
for help on using the changeset viewer.