[libc-commits] [libc] [libc] Add struct passwd type, pwd.yaml, and pwd_utils parser (PR #212421)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Tue Jul 28 03:13:10 PDT 2026
================
@@ -0,0 +1,72 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+/// Helper functions for pwd.
+///
+//===----------------------------------------------------------------------===//
+
+#include "src/pwd/pwd_utils.h"
+#include "hdr/errno_macros.h"
+#include "src/__support/ctype_utils.h"
+#include "src/__support/str_to_integer.h"
+#include "src/string/string_utils.h"
----------------
vhscampos wrote:
Add a include to struct_passwd here just for completeness
https://github.com/llvm/llvm-project/pull/212421
More information about the libc-commits
mailing list