Re: fpos_t in funopen(3)

2022-01-05 Thread Todd C . Miller
On Wed, 29 Dec 2021 15:28:57 -0600, Joe Nelson wrote: > Here's a patch. That looks correct to me. Since fpos_t just an alias for off_t on OpenBSD I don't think we need any shared library version bumps. - todd

Re: fpos_t in funopen(3)

2021-12-27 Thread Todd C . Miller
On Mon, 27 Dec 2021 15:18:38 -0600, Joe Nelson wrote: > I recently discovered the funopen function, and was confused by its > declaration. Specifically, one of its arguments is > > fpos_t (*seekfn)(void *, fpos_t, int) > > I wondered how seekfn would be able to return an error code, since th