Subject: Re: How to add a support function to libc
To: Klaus Klein <>
From: Allen Briggs <>
List: tech-userlevel
Date: 10/20/2000 08:48:58
On Thu, Oct 19, 2000 at 09:47:24PM +0200, Klaus Klein wrote:
> The other way 'round, actually - it should be defined in
> implementation namespace, and application namespace is to be supplied
> with an alias.

So, it should then be:

#ifdef __weak_alias 

const char *            
fmtcheck(const char *f1, const char *f2)

with a
	#define fmtcheck	__fmtcheck
in namespace.h


Also, I noticed that all of the 'const char *' returns in stdlib.h
actually use '__aconst char *', but other /usr/include headers use
'__const' or 'const'.  I see how they're defined, but what are the
rules for using these different consty values correctly?