xref: /llvm-project/libc/src/sys/statvfs/statvfs.h (revision 7e37d021022b0786a704a89abae2014692158b2f)
105dc5d92SSchrodinger ZHU Yifan //===-- Implementation header for statvfs -----------------------*- C++ -*-===//
205dc5d92SSchrodinger ZHU Yifan //
305dc5d92SSchrodinger ZHU Yifan // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
405dc5d92SSchrodinger ZHU Yifan // See https://llvm.org/LICENSE.txt for license information.
505dc5d92SSchrodinger ZHU Yifan // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
605dc5d92SSchrodinger ZHU Yifan //
705dc5d92SSchrodinger ZHU Yifan //===----------------------------------------------------------------------===//
805dc5d92SSchrodinger ZHU Yifan 
905dc5d92SSchrodinger ZHU Yifan #ifndef LLVM_LIBC_SRC_SYS_STATVFS_STATVFS_H
1005dc5d92SSchrodinger ZHU Yifan #define LLVM_LIBC_SRC_SYS_STATVFS_STATVFS_H
1105dc5d92SSchrodinger ZHU Yifan 
12*7e37d021SJoseph Huber #include "include/llvm-libc-types/struct_statvfs.h"
135ff3ff33SPetr Hosek #include "src/__support/macros/config.h"
1405dc5d92SSchrodinger ZHU Yifan 
155ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL {
1605dc5d92SSchrodinger ZHU Yifan 
1705dc5d92SSchrodinger ZHU Yifan int statvfs(const char *__restrict path, struct statvfs *__restrict buf);
1805dc5d92SSchrodinger ZHU Yifan 
195ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL
2005dc5d92SSchrodinger ZHU Yifan 
2105dc5d92SSchrodinger ZHU Yifan #endif // LLVM_LIBC_SRC_SYS_STATVFS_STATVFS_H
22