[libc-commits] [libc] [libc] Add struct passwd type, pwd.yaml, and pwd_utils parser (PR #212421)

Jeff Bailey via libc-commits libc-commits at lists.llvm.org
Tue Jul 28 03:53:20 PDT 2026


================
@@ -0,0 +1,26 @@
+header: pwd.h
+standards:
+  - posix
+types:
+  - type_name: struct_passwd
+  - type_name: gid_t
+  - type_name: uid_t
+  - type_name: size_t
+enums: []
+objects: []
+functions:
+  - name: getpwent
+    standards:
+      - posix
+    return_type: struct passwd *
+    arguments: []
+  - name: setpwent
+    standards:
+      - posix
+    return_type: void
+    arguments: []
+  - name: endpwent
+    standards:
+      - posix
+    return_type: void
+    arguments: []
----------------
kaladron wrote:

I've added this to the PR description (There's a half-dozen PRs coming for implementation, they're broken down to keep review reasonable)

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


More information about the libc-commits mailing list