libc/winsup/cygwin/include/ucontext.h
Corinna Vinschen 6e623e9320 Switching the Cygwin DLL to LGPLv3+, dropping commercial buyout option
Bump GPLv2+ to GPLv3+ for some files, clarify BSD 2-clause.

Everything else stays under GPLv3+.

New Linking Exception exempts resulting executables from LGPLv3 section 4.

Add CONTRIBUTORS file to keep track of licensing.

Remove 'Copyright Red Hat Inc' comments.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-06-23 10:09:17 +02:00

27 lines
671 B
C

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