blob: dd44d750b5583487ddcda4187c2a87a74cc294e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* ucontext.h
Copyright 2015 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#ifndef _UCONTEXT_H
#define _UCONTEXT_H
#include <sys/cdefs.h>
#include <sys/ucontext.h>
__BEGIN_DECLS
extern int getcontext (ucontext_t *) __attribute__((__nonnull__));
extern int setcontext (const ucontext_t *) __attribute__((__nonnull__));
extern int swapcontext (ucontext_t *, const ucontext_t *)
__attribute__((__nonnull__));
extern void makecontext (ucontext_t *, void (*) (void), int, ...)
__attribute__((__nonnull__ (1)));
__END_DECLS
#endif /* _UCONTEXT_H */
|