[libc-commits] [libc] 06ecfa1 - [libc] add missing pathconf header definitions (#195688)
via libc-commits
libc-commits at lists.llvm.org
Mon May 4 12:46:52 PDT 2026
Author: Schrodinger ZHU Yifan
Date: 2026-05-04T15:46:47-04:00
New Revision: 06ecfa10b8b37b256122564784dcb9cb267e64fc
URL: https://github.com/llvm/llvm-project/commit/06ecfa10b8b37b256122564784dcb9cb267e64fc
DIFF: https://github.com/llvm/llvm-project/commit/06ecfa10b8b37b256122564784dcb9cb267e64fc.diff
LOG: [libc] add missing pathconf header definitions (#195688)
Added:
Modified:
libc/include/unistd.yaml
Removed:
################################################################################
diff --git a/libc/include/unistd.yaml b/libc/include/unistd.yaml
index b3c19fe638d6d..115b70365bd75 100644
--- a/libc/include/unistd.yaml
+++ b/libc/include/unistd.yaml
@@ -149,6 +149,13 @@ functions:
- type: int
- type: uid_t
- type: gid_t
+ - name: fpathconf
+ standards:
+ - POSIX
+ return_type: long
+ arguments:
+ - type: int
+ - type: int
- name: fork
standards:
- POSIX
@@ -278,6 +285,13 @@ functions:
- type: int
- type: off_t
- type: int
+ - name: pathconf
+ standards:
+ - POSIX
+ return_type: long
+ arguments:
+ - type: const char *
+ - type: int
- name: pipe
standards:
- POSIX
More information about the libc-commits
mailing list