[libc-commits] [libc] [libc] Add sys/xattr.h and entrypoints flistxattr, listxattr, and llistxattr. (PR #224357)

Alex Strelnikov via libc-commits libc-commits at lists.llvm.org
Thu Sep 17 12:01:11 PDT 2026


================
@@ -0,0 +1,27 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+/// Function declaration of flistxattr.
+///
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_SYS_XATTR_LINUX_FLISTXATTR_H
+#define LLVM_LIBC_SRC_SYS_XATTR_LINUX_FLISTXATTR_H
+
+#include "include/llvm-libc-types/size_t.h"
----------------
strel-12 wrote:

Done, as far as I can tell, thanks. Not sure if "on most headers" was referring to some existing fixes for elsewhere in libc or something else I missed in this PR. I only saw this on the three headers here in sys/xattr/linux/.

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


More information about the libc-commits mailing list