blob: c69d3dc9d8dfb13c3ab999c287d46e865f2cb072 [file]
//===-- Implementation header for pthread_condattr_setclock -----*- C++ -*-===//
//
// 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
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_PTHREAD_PTHREAD_CONDATTR_SETCLOCK_H
#define LLVM_LIBC_SRC_PTHREAD_PTHREAD_CONDATTR_SETCLOCK_H
#include "hdr/types/clockid_t.h" // clockid_t
#include "src/__support/macros/config.h"
#include <pthread.h>
namespace LIBC_NAMESPACE_DECL {
int pthread_condattr_setclock(pthread_condattr_t *attr, clockid_t clock);
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_PTHREAD_PTHREAD_CONDATTR_SETCLOCK_H