[libc-commits] [libc] [libc] add statvfs/fstatvfs (PR #86169)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Mar 22 09:44:27 PDT 2024


================
@@ -0,0 +1,26 @@
+//===-- Definition of type struct statvfs ---------------------------------===//
+//
+// 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_TYPES_STRUCT_STATVFS_H
+#define LLVM_LIBC_TYPES_STRUCT_STATVFS_H
+#include <llvm-libc-types/fsblkcnt_t.h>
+#include <llvm-libc-types/fsfilcnt_t.h>
+struct statvfs {
----------------
nickdesaulniers wrote:

Please add vertical whitespace above+below the includes.

https://github.com/llvm/llvm-project/pull/86169


More information about the libc-commits mailing list