Lines Matching defs:File
3 * IPRT - File I/O.
197 * @param File Handle to the file.
204 RTR3DECL(int) RTFileReadAt(RTFILE File, RTFOFF off, void *pvBuf, size_t cbToRead, size_t *pcbRead)
206 int rc = RTFileSeek(File, off, RTFILE_SEEK_BEGIN, NULL);
208 rc = RTFileRead(File, pvBuf, cbToRead, pcbRead);
261 * @param File Handle to the file.
268 RTR3DECL(int) RTFileWriteAt(RTFILE File, RTFOFF off, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten)
270 int rc = RTFileSeek(File, off, RTFILE_SEEK_BEGIN, NULL);
272 rc = RTFileWrite(File, pvBuf, cbToWrite, pcbWritten);
323 * @returns File offset.
325 * @param File File handle.
327 RTR3DECL(uint64_t) RTFileTell(RTFILE File)
333 int rc = RTFileSeek(File, 0, RTFILE_SEEK_CURRENT, &off);
336 AssertMsgFailed(("RTFileSeek(%d) -> %d\n", File, rc));
346 * @param File Handle to the file.
349 RTR3DECL(RTFOFF) RTFileGetMaxSize(RTFILE File)
352 int rc = RTFileGetMaxSizeEx(File, &cbMax);