Go to the FreeLists Home Page Home Signup Help Login
 



[openbeos] || [Date Prev] [09-2002 Date Index] [Date Next] || [Thread Prev] [09-2002 Thread Index] [Thread Next]

[openbeos] Re: string functions (libc)

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 16 Sep 2002 16:04:47 CEST (+0200)
Jack wrote:
> 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.

Both would be fine with me. Just remember to update the kernel's 
Jamfile as well as the local ones when you add any files.

> 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) ?

I think both has its ups and downs. I actually prefer to group several 
functions; i.e. have a dir.c or directory.c in unistd that includes 
opendir(), closedir(), readdir(), etc..

Adios...
   Axel.







[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.