Add getcontext, setcontext, makecontext, and swapcontext prototypes

to ucontext.h.

Approved by:	-arch
This commit is contained in:
Daniel Eischen 2002-01-10 02:44:30 +00:00
parent b66b8326e5
commit ed4e4544b1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89178

View File

@ -50,4 +50,11 @@ typedef struct __ucontext {
int __spare__[8];
} ucontext_t;
#ifndef _KERNEL
int getcontext(ucontext_t *);
int setcontext(const ucontext_t *);
void makecontext(ucontext_t *, void (*)(void), int, ...);
int swapcontext(ucontext_t *, const ucontext_t *);
#endif /* !_KERNEL */
#endif /* !_SYS_UCONTEXT_H_ */