[libc-commits] [libc] [libc][stdio] Implement getline and getdelim POSIX functions (PR #219601)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Tue Sep 8 02:59:04 PDT 2026
================
@@ -288,6 +288,23 @@ functions:
return_type: int
arguments:
- type: FILE *
+ - name: getline
+ standards:
+ - posix
+ return_type: ssize_t
+ arguments:
+ - type: char **__restrict
+ - type: size_t *__restrict
+ - type: FILE *
----------------
vhscampos wrote:
IIUC the FILE pointers must also be `restrict`.
https://github.com/llvm/llvm-project/pull/219601
More information about the libc-commits
mailing list