Warning: This file is not a C or C++ file. It does not have highlighting.

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//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_LIBC_TYPES_STACK_T_H
10#define LLVM_LIBC_TYPES_STACK_T_H
11
12#include "size_t.h"
13
14typedef 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;
21
22#endif // LLVM_LIBC_TYPES_STACK_T_H
23

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of libc/include/llvm-libc-types/stack_t.h