bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] libgen.h?


From: Joern Thyssen
Subject: Re: [Bug-gnubg] libgen.h?
Date: Tue, 6 Aug 2002 19:52:30 +0000
User-agent: Mutt/1.2.5.1i

On Tue, Aug 06, 2002 at 03:49:29PM -0400, Gary Wong wrote
> On Tue, Aug 06, 2002 at 07:41:27PM +0000, Joern Thyssen wrote:
> > However, I'm quite unsure whether libgen.h is standard or not?!
> > 
> > Does anyone know?
> 
> The GNU libc documentation (libc.info) mentions that the GNU basename
> function is prototyped in string.h, and that libgen.h is the XPG
> basename.  So I presume that basename comes from X/Open, and
> unfortunately won't be standard outside Un*x systems.

OK, so it's probably better to remove <libgen.h>. 

If basename from string.h is missing on, say, windows we can write a
replacement function.

Jørn

-- 
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]