[Proj] Modern C functions

Gerald I. Evenden geraldi.evenden at gmail.com
Thu Feb 26 10:35:27 EST 2009

This is a quick probe of the programming types in this group.

In finalizing Rel. 2.0 of geodesic and libgeodesy I ran across functions under 
the <string.h> heading which are not in the typical (read Harrison & Steele) 
library references: strcasecmp and strncasecmp.  These are noted in the Gnu 
man.3 as Posix 2001 standard routines.  Obviously, these two routines replace 
strcmp and strncmp and make comparisons case independent.

As soon as I became aware of them I have included them to eliminate the nasty, 
nasty fact of having to shift when typing in WGS84 and can now use 

A little net browsing has yielded mixed results as to how well know these 
functions are.

Thus my question here is: do non-Gnu C compilers used by this audience 
recognize these functions?

The whole religious complexion of the modern world is due
to the absence from Jerusalem of a lunatic asylum.
-- Havelock Ellis (1859-1939) British psychologist

More information about the Proj mailing list