bug-mailutils
[Top][All Lists]
Advanced

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

Re: compiling on Nto...


From: Jeff Bailey
Subject: Re: compiling on Nto...
Date: Fri, 13 Apr 2001 23:33:21 -0700
User-agent: Mutt/1.2.5i

On Sat, Apr 14, 2001 at 01:11:38AM -0400, Alain Magloire wrote:

> >   * QNX needed to include <strings.h> for many of the useful string 
> > functions.
> 
> Ok,
> Which one was POSIX/ANSI C again? <string.h> or <strings.h> ?
> I think it is <string.h>,  <strings.h> is the obsolete one and bet
> that strcasecmp which is not part of POSIX is define in <strings.h>

According to Harbisson and Steele, the header for ISO C is <string.h>

They make no reference to strcasecmp, but the Linux man pages say that
it's a BSD 4.4 extension.  Libiberty has a portable version.

> Another POSIX thing. basename() is not posix.  But I thing the latest
> UNIX98 says it can be in libgen.h.

libiberty also has this.






reply via email to

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