|
Message-ID: <4ac5ac1b-217f-442f-fc35-bfbf015287bb@adelielinux.org>
Date: Wed, 16 Jan 2019 13:21:39 -0600
From: "A. Wilcox" <awilfox@...lielinux.org>
To: musl@...ts.openwall.com
Subject: <shadow.h> function: fgetspent_r
Hi muslers,
fgetspent_r[1] is a re-entrant version of fgetspent which stores all
strings in a caller-provided buffer to ensure that the memory is owned
by the caller instead of by the system.
It is present in Solaris 9[2] and higher, and glibc[3] Linux. It is
used by AccountsService[4].
Is it possible to add this API to musl? I could try to write it, if so.
Best,
--arw
[1]: https://docs.oracle.com/cd/E88353_01/html/E37843/getspent-r-3c.html
[2]: https://docs.oracle.com/cd/E19683-01/816-5214/6mbcfdl0v/index.html
[3]: https://linux.die.net/man/3/getspnam_r
[4]: https://cgit.freedesktop.org/accountsservice/commit/?id=14ca4245
--
A. Wilcox (awilfox)
Project Lead, Adélie Linux
https://www.adelielinux.org
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
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.