[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [RFC] setjmp.h dox

From: Joerg Wunsch
Subject: Re: [avr-libc-dev] [RFC] setjmp.h dox
Date: Wed, 4 Sep 2002 09:37:23 +0200
User-agent: Mutt/1.2.5i

As Theodore A. Roth wrote:

> Here's the dox for setjmp/longjmp. Looking through the source asm,
> things seem to watch what the gnu man pages and Stevens say about
> these functions.

I can't say much about setjmp/longjmp myself, i usually even avoid
them in regular C programs. ;-)

>  extern int setjmp(jmp_buf __jmpb);
>  extern void longjmp(jmp_buf __jmpb, int __ret) __ATTR_NORETURN__;

One thing i also noticed when working over <stdlib.h> is that i think
prepending two underscores to every formal parameter used in a
declaration doesn't make any sense to me.  The scope of these names is
just the declaration itself, so there's no risk of conflicting with
any application-supplied names.  However, now that we use doxygen to
document the header files, these names find their way into the user

J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]