Beispiel #1
0
int
__fillcontextx(char *ctx)
{
	ucontext_t *ucp;

	ucp = (ucontext_t *)ctx;
	if (getcontext(ucp) == -1)
		return (-1);
	__fillcontextx2(ctx);
	return (0);
}
int
__fillcontextx(char *ctx)
{
	struct ucontextx *ucxp;

	ucxp = (struct ucontextx *)ctx;
	if (getcontext(&ucxp->ucontext) == -1)
		return (-1);
	__fillcontextx2(ctx);
	return (0);
}