[openbeos] Re: string functions (libc)

  • From: burton666@xxxxxxxxxxx
  • To: openbeos@xxxxxxxxxxxxx
  • Date: 16 Sep 2002 12:28:49 -0000

>why not just have both be the samefunction?
>#define strcasecpm strnicmp ?
>That way porting software will beeasier.

Ok, I took some string functions (str[n]casecmp, strdup, strcspn) from freebsd. 
If no one complains, I'll commit them ASAP, or, if you prefer, I'll send it to 
someone into the kernel team.

BTW, should we keep the rule "one function, one file", or can I, for example, 
put strcasecmp and strncasecmp into the same file (as FreeBSD do) ?

Invia una cartolina ad un amico!

messaggio inviato con Freemail by www.superEva.it

Other related posts: