xref: /llvm-project/libc/src/unistd/sysconf.h (revision 7477b61b2416ca130bd3ed9bbc96988e5de17623)
11ac525b2SMichael Jones //===-- Implementation header for sysconf -----------------------*- C++ -*-===//
21ac525b2SMichael Jones //
31ac525b2SMichael Jones // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
41ac525b2SMichael Jones // See https://llvm.org/LICENSE.txt for license information.
51ac525b2SMichael Jones // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
61ac525b2SMichael Jones //
71ac525b2SMichael Jones //===----------------------------------------------------------------------===//
81ac525b2SMichael Jones 
91ac525b2SMichael Jones #ifndef LLVM_LIBC_SRC_UNISTD_SYSCONF_H
101ac525b2SMichael Jones #define LLVM_LIBC_SRC_UNISTD_SYSCONF_H
111ac525b2SMichael Jones 
12*7477b61bSTristan Ross #include "hdr/unistd_macros.h"
135ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
141ac525b2SMichael Jones 
155ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
161ac525b2SMichael Jones 
171ac525b2SMichael Jones long sysconf(int name);
181ac525b2SMichael Jones 
195ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
201ac525b2SMichael Jones 
211ac525b2SMichael Jones #endif // LLVM_LIBC_SRC_UNISTD_SYSCONF_H
22