aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/ucontext.h
blob: 96d8cfce0c180979b8acb6af67b5ba6c125687cd (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
/* ucontext.h

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 */