mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Justin Cormack <justin@specialbusservice.com>
To: musl@lists.openwall.com
Cc: Rich Felker <dalias@libc.org>
Subject: Re: Nonstandard functions with callbacks
Date: Wed, 12 Nov 2014 14:27:55 +0000	[thread overview]
Message-ID: <CAK4o1Wx4ZqUL+eJmXTcrDM4y_Xc9kGWE6r2x8YQ093qwz8y1BA@mail.gmail.com> (raw)
In-Reply-To: <20141111092253.15b592df@vostro>

On Tue, Nov 11, 2014 at 7:22 AM, Timo Teras <timo.teras@iki.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


      parent reply	other threads:[~2014-11-12 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11  4:50 Rich Felker
2014-11-11  7:22 ` Timo Teras
2014-11-11 13:46   ` Rich Felker
2014-11-11 13:56     ` Timo Teras
2014-11-11 14:28       ` Rich Felker
2014-11-11 13:56     ` Timo Teras
2014-11-12 14:27   ` Justin Cormack [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK4o1Wx4ZqUL+eJmXTcrDM4y_Xc9kGWE6r2x8YQ093qwz8y1BA@mail.gmail.com \
    --to=justin@specialbusservice.com \
    --cc=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).