Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2002 07:15:33 +1100 (EST)
From:      Bruce Evans <>
To:        Daniel Eischen <>
Cc:        Kevin Day <>, <current@FreeBSD.ORG>, <bde@FreeBSD.ORG>
Subject:   Re: function name collision on "getcontext" with ports/editors/joe
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, 10 Feb 2002, Daniel Eischen wrote:

> Hmm, <sys/signal.h> includes <sys/ucontext.h>.  I'm not sure why though.
> bde might know.

<sys/signal.h> includes <machine/signal.h> for the normal namespace
pollution that was needed to use sigreturn(2) (except sigreturn(2)
itself isn't actually declared anywhere).  Including <sys/ucontext.h>
gives the corresponding namespace pollution for using the current
sigreturn(2).  This is probably a mistake.  (Don't believe the
sigreturn man page; it documents osigreturn(2) for the i386 only.)
Programs shouldn't have any problems with this, since they should
define _POSIX_SOURCE if they only want the POSIX namespace ;-).


To Unsubscribe: send mail to
with "unsubscribe freebsd-current" in the body of the message

Want to link to this message? Use this URL: <>