[RFC] Faster strspn/strcspn implementation.

Paul Eggert eggert@cs.ucla.edu
Fri Dec 28 17:00:00 GMT 2012


On 12/28/2012 07:26 AM, Joseph S. Myers wrote:
> (stpcpy is a POSIX.1-2008 function.)

Well, to be fair, stpcpy was in glibc long before
it was standardized by POSIX.
I think glibc stole it from the MS-DOS world,
either Borland Turbo C or Lattice C;
I've heard both stories and don't know which is right.
So there is some precedent for glibc using
str[a-z]* symbols that are not formally standardized.



More information about the Libc-alpha mailing list