blob: 8daf223ddbef5a967f623de15d7da2a0156fbf60 [file]
//===----------------------------------------------------------------------===//
//
// 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_getattr_np (GNU extension).
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_PTHREAD_PTHREAD_GETATTR_NP_H
#define LLVM_LIBC_SRC_PTHREAD_PTHREAD_GETATTR_NP_H
#include "hdr/types/pthread_attr_t.h"
#include "hdr/types/pthread_t.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
int pthread_getattr_np(pthread_t th, pthread_attr_t *attr);
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_PTHREAD_PTHREAD_GETATTR_NP_H