github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/runtime/defs1_linux.go (about)

     1  // Copyright 2009 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build ignore
     6  
     7  /*
     8  Input to cgo -cdefs
     9  
    10  GOARCH=amd64 cgo -cdefs defs.go defs1.go >amd64/defs.h
    11  */
    12  
    13  package runtime
    14  
    15  import "C"
    16  
    17  const (
    18  	O_RDONLY    = C.O_RDONLY
    19  	O_NONBLOCK  = C.O_NONBLOCK
    20  	O_CLOEXEC   = C.O_CLOEXEC
    21  	SA_RESTORER = C.SA_RESTORER
    22  )
    23  
    24  type Usigset C.__sigset_t
    25  type Fpxreg C.struct__libc_fpxreg
    26  type Xmmreg C.struct__libc_xmmreg
    27  type Fpstate C.struct__libc_fpstate
    28  type Fpxreg1 C.struct__fpxreg
    29  type Xmmreg1 C.struct__xmmreg
    30  type Fpstate1 C.struct__fpstate
    31  type Fpreg1 C.struct__fpreg
    32  type StackT C.stack_t
    33  type Mcontext C.mcontext_t
    34  type Ucontext C.ucontext_t
    35  type Sigcontext C.struct_sigcontext