summaryrefslogtreecommitdiffstats
path: root/sys/kern/link_elf_obj.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2001-09-03 04:30:46 +0000
committerache <ache@FreeBSD.org>2001-09-03 04:30:46 +0000
commit3459efd284d5fbe3b8a1b7157c1d30cacdb5c82a (patch)
treeeeabaf6737c2ec138d4ca8a015dfda3a1a4017ff /sys/kern/link_elf_obj.c
parent684688710c7b69dd9b075a0f539028f0c6b9a792 (diff)
downloadFreeBSD-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_obj.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud