ucontext.h 510 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
  5. */
  6. #ifndef _SYS_UCONTEXT_H
  7. #define _SYS_UCONTEXT_H 1
  8. #include <features.h>
  9. #include <signal.h>
  10. #include <bits/sigcontext.h>
  11. typedef struct ucontext {
  12. unsigned long uc_flags;
  13. struct ucontext *uc_link;
  14. stack_t uc_stack;
  15. struct sigcontext uc_mcontext;
  16. sigset_t uc_sigmask; /* mask last for extensibility */
  17. } ucontext_t;
  18. #endif /* sys/ucontext.h */