X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/734aad71947a79037af64f74c683f5eb36fe6065..0a7506c9bdc0d0d560d4b9c8a3d1089f5db425b9:/include/ucontext.h diff --git a/include/ucontext.h b/include/ucontext.h index 120ff0e..572b379 100644 --- a/include/ucontext.h +++ b/include/ucontext.h @@ -3,8 +3,6 @@ * * @APPLE_LICENSE_HEADER_START@ * - * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved. - * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in @@ -26,6 +24,14 @@ #ifndef _UCONTEXT_H_ #define _UCONTEXT_H_ +#include #include +__BEGIN_DECLS +int getcontext(ucontext_t *); +void makecontext(ucontext_t *, void (*)(void), int, ...); +int setcontext(const ucontext_t *); +int swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict); +__END_DECLS + #endif /* _UCONTEXT_H_ */