diff options
author | ache <ache@FreeBSD.org> | 2001-09-03 04:30:46 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-09-03 04:30:46 +0000 |
commit | 3459efd284d5fbe3b8a1b7157c1d30cacdb5c82a (patch) | |
tree | eeabaf6737c2ec138d4ca8a015dfda3a1a4017ff /sys/kern/link_elf.c | |
parent | 684688710c7b69dd9b075a0f539028f0c6b9a792 (diff) | |
download | FreeBSD-src-3459efd284d5fbe3b8a1b7157c1d30cacdb5c82a.zip FreeBSD-src-3459efd284d5fbe3b8a1b7157c1d30cacdb5c82a.tar.gz |
File positions are off_t nowdays, not long, so:
fseek -> fseeko
ftell -> ftello
fseek(x, 0L, 0) -> rewind(x)
NOTE: that fseek/ftell not works for >long offsets per POSIX:
[EOVERFLOW] For fseek( ), the resulting file offset would be a value which
cannot be represented correctly in an object of type long.
[EOVERFLOW] For ftell ( ), the current file offset cannot be represented
correctly in an object of type long.
Diffstat (limited to 'sys/kern/link_elf.c')
0 files changed, 0 insertions, 0 deletions