[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnumach kern/strings.h
From: |
Samuel Thibault |
Subject: |
Re: Gnumach kern/strings.h |
Date: |
Tue, 7 Nov 2006 18:54:39 +0100 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Thomas Bushnell BSG, le Tue 07 Nov 2006 09:33:31 -0800, a écrit :
> On Tue, 2006-11-07 at 10:26 +0100, Samuel Thibault wrote:
> > Hi,
> >
> > Claudio Fontana, le Mon 06 Nov 2006 19:14:04 -0800, a écrit :
> > > is this to be the regular header that application developers include
> > > under your system to see all standard string functions declared?
> >
> > Nope, that's only for kernel use, but I'd say it should follow C
> > standard, so that people are not lost.
> > (imagine a documentation saying "#include <strings.h> instead of
> > <string.h>, and <printf.h> instead of <stdio.h>, and...".
>
> It would be wise to make the strings header have the same name.
>
> However, <printf.h> could actually be a better name for that one,
> because it is *not* stdio or anything near it, and it's important to
> flag such things.
Ok, that may be an exception because it's one of the few functions that
actually have side effects.
Samuel