blob: b6a03789cb6730776a3ba84ab14551443a35b143 [file] [edit]
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
///
/// \file
/// Implementation header for pthread_attr_getinheritsched.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_PTHREAD_PTHREAD_ATTR_GETINHERITSCHED_H
#define LLVM_LIBC_SRC_PTHREAD_PTHREAD_ATTR_GETINHERITSCHED_H
#include "hdr/types/pthread_attr_t.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
/// Get the inherit scheduler attribute from \p attr.
int pthread_attr_getinheritsched(const pthread_attr_t *__restrict attr,
int *__restrict inheritsched);
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_PTHREAD_PTHREAD_ATTR_GETINHERITSCHED_H