Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Oct 2002 20:00:43 -0400
From:      Craig Rodrigues <rodrigc@attbi.com>
To:        freebsd-standards@freebsd.org
Subject:   Re: restrict qualifier task
Message-ID:  <20021007200043.A12581@attbi.com>
In-Reply-To: <20021006224711.C97120@espresso.q9media.com>; from mike@FreeBSD.org on Sun, Oct 06, 2002 at 10:47:11PM -0400
References:  <20021006214520.B97120@espresso.q9media.com> <20021006223653.A7728@attbi.com> <20021006224711.C97120@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I am working on the patches now for this task.
I have a question.

In /usr/src/include/signal.h, there is a preprocessor check
for _ANSI_SOURCE:

     53 __BEGIN_DECLS
     54 int     raise(int);
     55 #ifndef _ANSI_SOURCE
     56 int     kill(__pid_t, int);
     57 int     sigaction(int, const struct sigaction *, struct sigaction *);
     58 int     sigaddset(sigset_t *, int);
     59 int     sigdelset(sigset_t *, int);
     60 int     sigemptyset(sigset_t *);
     61 int     sigfillset(sigset_t *);
     62 int     sigismember(const sigset_t *, int);
     63 int     sigpending(sigset_t *);
     64 int     sigprocmask(int, const sigset_t *, sigset_t *);
     65 int     sigsuspend(const sigset_t *);
     66 int     sigwait(const sigset_t *, int *);
     67


Can I add the __restrict keyword to sigwait, or do I need to do
something special because of the _ANSI_SOURCE preprocessor check?
ie. would I have to move the prototype for sigwait() to underneath
raise()?


-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@attbi.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021007200043.A12581>