[libc-commits] [libc] 3511792 - [libc][unistd] Fix generated at-function prototypes (#195341)
via libc-commits
libc-commits at lists.llvm.org
Tue May 5 10:30:14 PDT 2026
Author: Petter Berntsson
Date: 2026-05-05T10:30:08-07:00
New Revision: 35117920811b771cd1efe8c56dfd494eec5abdd8
URL: https://github.com/llvm/llvm-project/commit/35117920811b771cd1efe8c56dfd494eec5abdd8
DIFF: https://github.com/llvm/llvm-project/commit/35117920811b771cd1efe8c56dfd494eec5abdd8.diff
LOG: [libc][unistd] Fix generated at-function prototypes (#195341)
Fixes generated <unistd.h> prototypes for readlinkat/symlinkat and adds
compile-time public-header coverage
Added:
Modified:
libc/include/unistd.yaml
Removed:
################################################################################
diff --git a/libc/include/unistd.yaml b/libc/include/unistd.yaml
index 115b70365bd75..156e141fd644b 100644
--- a/libc/include/unistd.yaml
+++ b/libc/include/unistd.yaml
@@ -344,6 +344,7 @@ functions:
- POSIX
return_type: ssize_t
arguments:
+ - type: int
- type: const char *__restrict
- type: char *__restrict
- type: size_t
@@ -379,7 +380,6 @@ functions:
- POSIX
return_type: int
arguments:
- - type: int
- type: const char *
- type: int
- type: const char *
More information about the libc-commits
mailing list