Changeset 2742 for trunk/libc/include/klibc/io.h
- Timestamp:
- Jul 26, 2006, 3:35:40 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/include/klibc/io.h
r2739 r2742 85 85 */ 86 86 int (*pfnWrite)(struct __libc_FileHandle *pFH, const void *pvBuf, size_t cbWrite, size_t *pcbWritten); 87 /** Seek operation. 88 * @returns 0 on success. 89 * @returns Negated errno on failure. 90 * @param pFH Pointer to the handle structure to operate on. 91 * @param off The seek offset. 92 * @param iMethod The seek method (SEEK_SET, SEEK_CUR, SEEK_END). 93 * @param poffActual Where to store the new offset. 94 */ 95 int (*pfnSeek)(struct __libc_FileHandle *pFH, off_t off, int iMethod, off_t *poffActual); 96 /** 97 * Sets the size of an open file. 98 * 99 * @returns 0 on success. 100 * @returns Negative error code (errno.h) on failure. 101 * @param pFH The file handle structure. 102 * @param cbFile The new filesize. 103 * @param fZero If set any new allocated file space should be initialized to zero. 104 */ 105 int (*pfnSizeSet)(struct __libc_FileHandle *pFH, off_t cbFile, int fZero); 87 106 /** Duplicate handle operation. 88 107 * @returns 0 on success.
Note:
See TracChangeset
for help on using the changeset viewer.