diff options
Diffstat (limited to 'vendor/modernc.org/libc/signal/signal_linux_s390x.go')
-rw-r--r-- | vendor/modernc.org/libc/signal/signal_linux_s390x.go | 45 |
1 files changed, 29 insertions, 16 deletions
diff --git a/vendor/modernc.org/libc/signal/signal_linux_s390x.go b/vendor/modernc.org/libc/signal/signal_linux_s390x.go index f0ea5e595..93330096b 100644 --- a/vendor/modernc.org/libc/signal/signal_linux_s390x.go +++ b/vendor/modernc.org/libc/signal/signal_linux_s390x.go @@ -218,7 +218,8 @@ const ( /* siginfo-consts.h:189:1: */ // Architecture-specific adjustments to siginfo_t. // Values for `si_code'. Positive values are reserved for kernel-generated -// signals. +// +// signals. const ( /* siginfo-consts.h:35:1: */ SI_ASYNCNL = -60 // Sent by asynch name lookup completion. SI_DETHREAD = -7 // Sent by execve killing subsidiary @@ -1001,7 +1002,8 @@ type X__syscall_slong_t = int64 /* types.h:196:33 */ type X__syscall_ulong_t = uint64 /* types.h:198:33 */ // These few don't really vary by system, they always correspond -// to one of the other defined types. +// +// to one of the other defined types. type X__loff_t = X__off64_t /* types.h:202:19 */ // Type of file sizes and offsets (LFS). type X__caddr_t = uintptr /* types.h:203:14 */ @@ -1012,8 +1014,9 @@ type X__intptr_t = int64 /* types.h:206:25 */ type X__socklen_t = uint32 /* types.h:209:23 */ // C99: An integer type that can be accessed as an atomic entity, -// even in the presence of asynchronous interrupts. -// It is not currently necessary for this to be machine-specific. +// +// even in the presence of asynchronous interrupts. +// It is not currently necessary for this to be machine-specific. type X__sig_atomic_t = int32 /* types.h:214:13 */ // Seconds since the Epoch, visible to user code when time_t is too @@ -1113,7 +1116,8 @@ type X__sig_atomic_t = int32 /* types.h:214:13 */ // Never include this file directly; use <sys/types.h> instead. // An integral type that can be modified atomically, without the -// possibility of a signal arriving in the middle of the operation. +// +// possibility of a signal arriving in the middle of the operation. type Sig_atomic_t = X__sig_atomic_t /* sig_atomic_t.h:8:24 */ type X__sigset_t = struct{ F__val [16]uint64 } /* __sigset_t.h:8:3 */ @@ -1181,7 +1185,8 @@ type Uid_t = X__uid_t /* signal.h:46:17 */ // values. // POSIX.1b structure for a time value. This is like a `struct timeval' but -// has nanoseconds instead of microseconds. +// +// has nanoseconds instead of microseconds. type Timespec = struct { Ftv_sec X__time_t Ftv_nsec X__syscall_slong_t @@ -1486,7 +1491,8 @@ type X__s64 = int64 /* int-ll64.h:30:44 */ type X__u64 = uint64 /* int-ll64.h:31:42 */ // A address type so that arithmetic can be done on it & it can be upgraded to -// 64 bit when necessary +// +// 64 bit when necessary type Addr_t = uint64 /* types.h:18:23 */ type Saddr_t = int64 /* types.h:19:25 */ @@ -1808,10 +1814,12 @@ type X__psw_t = struct { type Greg_t = uint64 /* ucontext.h:42:23 */ // And the whole bunch of them. We should have used `struct s390_regs', -// but to avoid name space pollution and since the tradition says that -// the register set is an array, we make gregset_t a simple array -// that has the same size as s390_regs. This is needed for the -// elf_prstatus structure. +// +// but to avoid name space pollution and since the tradition says that +// the register set is an array, we make gregset_t a simple array +// that has the same size as s390_regs. This is needed for the +// elf_prstatus structure. +// // Must match kernels psw_t alignment. type Gregset_t = [27]Greg_t /* ucontext.h:58:16 */ @@ -2149,18 +2157,21 @@ type X__pthread_cond_s = struct { } /* thread-shared-types.h:92:1 */ // Thread identifiers. The structure of the attribute type is not -// exposed on purpose. +// +// exposed on purpose. type Pthread_t = uint64 /* pthreadtypes.h:27:27 */ // Data structures for mutex handling. The structure of the attribute -// type is not exposed on purpose. +// +// type is not exposed on purpose. type Pthread_mutexattr_t = struct { F__ccgo_pad1 [0]uint32 F__size [4]uint8 } /* pthreadtypes.h:36:3 */ // Data structure for condition variable handling. The structure of -// the attribute type is not exposed on purpose. +// +// the attribute type is not exposed on purpose. type Pthread_condattr_t = struct { F__ccgo_pad1 [0]uint32 F__size [4]uint8 @@ -2177,7 +2188,8 @@ type Pthread_mutex_t = struct{ F__data X__pthread_mutex_s } /* pthreadtypes.h:72 type Pthread_cond_t = struct{ F__data X__pthread_cond_s } /* pthreadtypes.h:80:3 */ // Data structure for reader-writer lock variable handling. The -// structure of the attribute type is deliberately not exposed. +// +// structure of the attribute type is deliberately not exposed. type Pthread_rwlock_t = struct{ F__data X__pthread_rwlock_arch_t } /* pthreadtypes.h:91:3 */ type Pthread_rwlockattr_t = struct { @@ -2189,7 +2201,8 @@ type Pthread_rwlockattr_t = struct { type Pthread_spinlock_t = int32 /* pthreadtypes.h:103:22 */ // POSIX barriers data type. The structure of the type is -// deliberately not exposed. +// +// deliberately not exposed. type Pthread_barrier_t = struct { F__ccgo_pad1 [0]uint64 F__size [32]uint8 |