Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Sep 2002 15:52:42 -0400 (EDT)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Jonathan Mini <mini@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   Re: PERFORCE change 16816 for review
Message-ID:  <Pine.NEB.3.96L.1020902155121.14299J-100000@fledge.watson.org>
In-Reply-To: <200208302100.g7UL0hW3027550@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hmm.  I suspect the reason for ucontext.h was that that's the API exposed
by Solaris and other platforms with those context management primitives.
On Solaris, /usr/include/ucontext.h defines the userland API, and does a
nested include of /usr/include/sys/ucontext.h for some of the structures,
and the APIs for the system calls.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Network Associates Laboratories

On Fri, 30 Aug 2002, Jonathan Mini wrote:

> http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16816
> 
> Change 16816 by mini@mini_stylus on 2002/08/30 13:59:58
> 
> 	<ucontext.h> -> <sys/ucontext.h>
> 
> Affected files ...
> 
> .. //depot/projects/kse/lib/libc/alpha/gen/makecontext.c#2 edit
> 
> Differences ...
> 
> ==== //depot/projects/kse/lib/libc/alpha/gen/makecontext.c#2 (text+ko) ====
> 
> @@ -29,10 +29,10 @@
>  
>  #include <sys/param.h>
>  #include <sys/signal.h>
> +#include <sys/ucontext.h>
>  
>  #include <errno.h>
>  #include <stdarg.h>
> -#include <ucontext.h>
>  #include <unistd.h>
>  
>  
> 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1020902155121.14299J-100000>