Parent Directory | Revision Log | Patch
revision 1.9 by spiralvoice, Sun Aug 28 10:47:39 2005 UTC | revision 1.10 by spiralvoice, Fri Sep 2 22:39:59 2005 UTC | |
---|---|---|
# | Line 62 ssize_t os_read(OS_FD fd, char *buf, siz | Line 62 ssize_t os_read(OS_FD fd, char *buf, siz |
62 | return result; | return result; |
63 | } | } |
64 | ||
65 | void os_ftruncate(OS_FD fd, OFF_T len) | |
66 | // TODO: write whole file if sparse disabled | |
67 | void os_ftruncate(OS_FD fd, OFF_T len, /* bool */ int sparse) | |
68 | { | { |
69 | int64 cursize; | int64 cursize; |
70 | if(!fd) failwith("ftruncate32: file is closed"); | if(!fd) failwith("ftruncate32: file is closed"); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |