| // Copyright 2009 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| godefs -f -m64 defs.c >amd64/defs.h |
| godefs defs.c >386/defs.h |
| #include <sys/ucontext.h> |
| $PROT_WRITE = PROT_WRITE, |
| $MAP_PRIVATE = MAP_PRIVATE, |
| $SA_SIGINFO = SA_SIGINFO, |
| $SA_RESTART = SA_RESTART, |
| $SA_ONSTACK = SA_ONSTACK, |
| $UMTX_OP_WAIT = UMTX_OP_WAIT, |
| $UMTX_OP_WAKE = UMTX_OP_WAKE, |
| typedef struct rtprio $Rtprio; |
| typedef struct thr_param $ThrParam; |
| typedef struct sigaltstack $Sigaltstack; |
| typedef struct __sigset $Sigset; |
| typedef union sigval $Sigval; |
| typedef siginfo_t $Siginfo; |
| typedef mcontext_t $Mcontext; |
| typedef ucontext_t $Ucontext; |