[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
================
@@ -40,6 +40,38 @@ add_entrypoint_object(
libc.src.__support.File.platform_file
)
----------------
vhscampos wrote:
A better way to define `inline_getline` is as a header library. Have a look in `src/string/memory_utils/CMakeLists.txt` for examples such as `inline_memcpy`.
Then, you can declare a dependency to `inline_getline` under the `DEPENDS` clause instead of putting it under `HDRS`.
https://github.com/llvm/llvm-project/pull/219601
More information about the libc-commits
mailing list