tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Import basename_r and dirname_r from FreeBSD?



On Tue, May 01, 2012 at 09:37:45AM +0200, Emmanuel Dreyfus wrote:
> FreeBSD has thread-safe basename_r()and dirname_r(). Is it okay to import
> them?
> 
> http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/basename.c?rev=1.9
> http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libc/gen/dirname.c?rev=1.8

What are these? I'd say: sure, but not to libc.

- Jukka.


Home | Main Index | Thread Index | Old Index