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

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Fri Sep 18 06:51:04 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"
----------------
kaladron wrote:

I dug into this, and I don't love this macro but it's what we've got for now.  I'll resolve this.


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


More information about the libc-commits mailing list