Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK4o1Wx4ZqUL+eJmXTcrDM4y_Xc9kGWE6r2x8YQ093qwz8y1BA@mail.gmail.com>
Date: Wed, 12 Nov 2014 14:27:55 +0000
From: Justin Cormack <justin@...cialbusservice.com>
To: musl@...ts.openwall.com
Cc: Rich Felker <dalias@...c.org>
Subject: Re: Nonstandard functions with callbacks

On Tue, Nov 11, 2014 at 7:22 AM, Timo Teras <timo.teras@....fi> wrote:
> NetBSD current seems to have funopen2() with alternative signatures for
> the callbacks using ssize_t/size_t for read/write instead of int.
>
> So yeah, it's a royal mess.

I looked at NetBSD, and it is used internally for implementing
open_memstream, otherwise I would be tempted to remove it. The man
page says not portable, do not use. Might still be worth making it an
internal libc function instead though.

Justin

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.