]> git.saurik.com Git - apple/libc.git/blobdiff - include/ucontext.h
Libc-498.1.1.tar.gz
[apple/libc.git] / include / ucontext.h
index 120ff0efaaaba85ee8e3212b2a691a136391e8ae..572b379ad3d6c889e9650dd530a5e5b6efc2daec 100644 (file)
@@ -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
 #ifndef _UCONTEXT_H_
 #define _UCONTEXT_H_
 
+#include <sys/cdefs.h>
 #include <sys/ucontext.h>
 
+__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_ */