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

Re: glibc devel info pages



On Wed, Jan 03, 2001 at 01:56:23PM +1100, Brian May wrote:
> 
> #ifdef __USE_GNU
> /* Write formatted output to a string dynamically allocated with `malloc'.
>    Store the address of the string in *PTR.  */
> extern int vasprintf __P ((char **__restrict __ptr,
>                            __const char *__restrict __f, _G_va_list __arg))
>      __attribute__ ((__format__ (__printf__, 2, 0)));
> [...]
> #endif
> 

By default, __USE_GNU is defined. If you want to define it explicitly,
then use -D_GNU_SOURCE in your CFLAGS.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: