This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Add strings.h


Ralf:
 
One suggestion:  for the unimplemented functions, rather than #if 0 to
effectively comment them out, actually comment them out so that if
people
grep for them the results show that they are not real.
 
That is, change, for example, 
#if 0
/* Not implemented */
int	 _EXFUN(strcasecmp_l,(const char *, const char *, locale_t));
#endif
 
to something like
#if 0
/* Not implemented */
/* TBD int	 _EXFUN(strcasecmp_l,(const char *, const char *,
locale_t)); */
#endif
[where the #if 0 could be kept, but obviously would not be needed].
 
Craig

-----Original Message-----
From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org]
On Behalf Of Ralf Corsepius
Sent: Friday, October 08, 2010 10:37 AM
To: newlib@sourceware.org
Subject: Add strings.h

Hi again,

The patch below adds <strings.h> for better POSIX compliance.

The file was extracted/split-out from newlib's string.h.

More patches reflecting this change to come.

Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]