Lines Matching defs:File
2 * IPRT - File I/O.
37 /** @defgroup grp_rt_fileio RTFile - File I/O
301 * @param File The file handle to close.
303 RTDECL(int) RTFileClose(RTFILE File);
318 * @param File The IPRT file handle.
320 RTDECL(RTHCINTPTR) RTFileToNative(RTFILE File);
350 * @param File Handle to the file.
356 RTDECL(int) RTFileSeek(RTFILE File, int64_t offSeek, unsigned uMethod, uint64_t *poffActual);
362 * @param File Handle to the file.
368 RTDECL(int) RTFileRead(RTFILE File, void *pvBuf, size_t cbToRead, size_t *pcbRead);
375 * @param File Handle to the file.
382 RTDECL(int) RTFileReadAt(RTFILE File, RTFOFF off, void *pvBuf, size_t cbToRead, size_t *pcbRead);
402 * @param File Handle to the file.
408 RTDECL(int) RTFileWrite(RTFILE File, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten);
415 * @param File Handle to the file.
422 RTDECL(int) RTFileWriteAt(RTFILE File, RTFOFF off, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten);
442 * @param File Handle to the file.
444 RTDECL(int) RTFileFlush(RTFILE File);
450 * @param File Handle to the file.
453 RTDECL(int) RTFileSetSize(RTFILE File, uint64_t cbSize);
459 * @param File Handle to the file.
462 RTDECL(int) RTFileGetSize(RTFILE File, uint64_t *pcbSize);
469 * @param File Handle to the file.
472 RTDECL(RTFOFF) RTFileGetMaxSize(RTFILE File);
478 * @param File Handle to the file.
482 RTDECL(int) RTFileGetMaxSizeEx(RTFILE File, PRTFOFF pcbMax);
489 * @param File Handle to the file.
491 RTDECL(RTFOFF) RTFileGetMaxSize(RTFILE File);
496 * @returns File offset.
498 * @param File Handle to the file.
500 RTDECL(uint64_t) RTFileTell(RTFILE File);
507 * @param File The file handle
509 RTDECL(bool) RTFileIsValid(RTFILE File);
781 /** @page pg_rt_filelock RT File locking API description
783 * File locking general rules:
801 * Win32: File size change (RTFileSetSize) is not controlled by locking at all (!) in the
834 * @param File Handle to the file.
839 RTDECL(int) RTFileLock(RTFILE File, unsigned fLock, int64_t offLock, uint64_t cbLock);
859 * @param File Handle to the file.
864 RTDECL(int) RTFileChangeLock(RTFILE File, unsigned fLock, int64_t offLock, uint64_t cbLock);
872 * @param File Handle to the file.
876 RTDECL(int) RTFileUnlock(RTFILE File, int64_t offLock, uint64_t cbLock);
884 * @param File Handle to the file.
889 RTDECL(int) RTFileQueryInfo(RTFILE File, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAdditionalAttribs);
898 * @param File Handle to the file.
915 RTDECL(int) RTFileSetTimes(RTFILE File, PCRTTIMESPEC pAccessTime, PCRTTIMESPEC pModificationTime,
922 * @param File Handle to the file.
930 RTDECL(int) RTFileGetTimes(RTFILE File, PRTTIMESPEC pAccessTime, PRTTIMESPEC pModificationTime,
940 * @param File Handle to the file.
943 RTDECL(int) RTFileSetMode(RTFILE File, RTFMODE fMode);
949 * @param File Handle to the file.
955 RTDECL(int) RTFileGetMode(RTFILE File, uint32_t *pfMode);
961 * @param File Handle to the file.
967 RTDECL(int) RTFileSetOwner(RTFILE File, uint32_t uid, uint32_t gid);
973 * @param File Handle to the file.
979 RTDECL(int) RTFileGetOwner(RTFILE File, uint32_t *pUid, uint32_t *pGid);
992 * @param File Handle to the file.
998 RTDECL(int) RTFileIoCtl(RTFILE File, unsigned long ulRequest, void *pvData, unsigned cbData, int *piRet);
1061 * @param File The handle to the file.
1067 RTDECL(int) RTFileReadAllByHandle(RTFILE File, void **ppvFile, size_t *pcbFile);
1075 * @param File The handle to the file.
1085 RTDECL(int) RTFileReadAllByHandleEx(RTFILE File, RTFOFF off, RTFOFF cbMax, uint32_t fFlags, void **ppvFile, size_t *pcbFile);
1113 /** @page pg_rt_asyncio RT File async I/O API
1115 * File operations are usually blocking the calling thread until
1118 * The RT File async I/O API provides an easy and efficient way to