Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 28 Sep 2012 23:01:32 +0200
From: Daniel Cegiełka <>
Subject: funopen() from BSD


Rich wrote about files/threads locking. I'm trying to implement
functions funopen() and port it to musl.

funopen() function is similar to gnulib's fopencookie() - I found
implementation in newlib:

I cleaned the code and more prepared to work with musl, but I have to
use locking from musl... so I need some help in explaining how to use
the lock's feature from musl.

Rich, is there any chance that this function could be added to musl?
It's used in BSD.

Thanks for any help,

View attachment "funopen_orig.c" of type "text/x-csrc" (7751 bytes)

View attachment "funopen.c" of type "text/x-csrc" (6864 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.