ucontext.h 498 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
  3. *
  4. * Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
  5. * in this tarball.
  6. */
  7. #ifndef _SYS_UCONTEXT_H
  8. #define _SYS_UCONTEXT_H 1
  9. #include <features.h>
  10. #include <signal.h>
  11. #include <bits/sigcontext.h>
  12. typedef struct ucontext
  13. {
  14. unsigned long int uc_flags;
  15. struct ucontext * uc_link;
  16. stack_t uc_stack;
  17. struct sigcontext uc_mcontext;
  18. sigset_t uc_sigmask;
  19. } ucontext_t;
  20. #endif /* sys/ucontext.h */