summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/ungetc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2022-01-05 20:57:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2022-01-05 20:57:28 +0000
commit2c9573a223f521a52162be2e51576af44989bb9d (patch)
tree5caa3c9155f1745d7f23c0b6fa42818c35a83ae6 /lib/libc/stdio/ungetc.c
parentd472943526459bd7240a346587700eaf264603c2 (diff)
funopen(): change seekfn argument to use off_t, not fpos_t
On BSD, fpos_t is typedef'd to off_t but some systems use a struct. This means fpos_t is not a portable function argument or return value. Both FreeBSD and the Linux libbsd funopen() have switched to off_t for this--we should too. From Joe Nelson. OK deraadt@
Diffstat (limited to 'lib/libc/stdio/ungetc.c')
0 files changed, 0 insertions, 0 deletions