Bump version to 19.1.0 (final)
[llvm-project.git] / libc / include / llvm-libc-types / stack_t.h
blob9156425436e948cf8798ada5cb6446564c25c83b
1 //===-- Definition of stack_t type ----------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_TYPES_STACK_T_H
10 #define LLVM_LIBC_TYPES_STACK_T_H
12 #include "llvm-libc-types/size_t.h"
14 typedef struct {
15 // The order of the fields declared here should match the kernel definition
16 // of stack_t in order for the SYS_sigaltstack syscall to work correctly.
17 void *ss_sp;
18 int ss_flags;
19 size_t ss_size;
20 } stack_t;
22 #endif // LLVM_LIBC_TYPES_STACK_T_H