On Fri, 24 Sep 2010, Rui Paulo wrote:
On 22 Sep 2010, at 22:08, Bruce Evans wrote:
On Wed, 22 Sep 2010, Rui Paulo wrote:
Note about semantics: while this interface is not POSIXy, there's
another major platform that uses it (Android) and the semantics between
the two platforms are pretty much the same.
It is also not non-POSIX...
Modified: stable/8/include/libgen.h
==============================================================================
--- stable/8/include/libgen.h Wed Sep 22 16:54:22 2010 (r213001)
+++ stable/8/include/libgen.h Wed Sep 22 18:00:34 2010 (r213002)
@@ -36,6 +36,7 @@
__BEGIN_DECLS
char *basename(const char *);
+char *basename_r(const char *, char *);
char *dirname(const char *);
#if 0
char *regcmp(const char *, ...);
...since it is declared in the POSIX namespace.
I don't know of a better place to declare it.
Er, inside an ifdef for a non-POSIX namespace of course. See almost any
header that has more than 3 active declarations in it.
Bruce
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"