Changeset 58 in libcf
- Timestamp:
- 04/07/13 03:29:37 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cf_file.c
r55 r58 168 168 ASSERT_ARGS (buf == NULL); 169 169 170 (int) write (fd, buf, len);170 result = (int) write (fd, buf, len); 171 171 172 172 if (result != len) … … 190 190 ASSERT_ARGS (fd < 0); 191 191 192 (int) lseek (fd, 0, SEEK_END);192 result = (int) lseek (fd, 0, SEEK_END); 193 193 194 194 if (result < 0 || lseek (fd, 0, SEEK_SET) < 0)
Note:
See TracChangeset
for help on using the changeset viewer.