[libc-commits] [libc] [libc][search] implement posix `lfind` function (PR #114692)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Nov 4 09:44:04 PST 2024
================
@@ -57,3 +57,13 @@ functions:
return_type: void
arguments:
- type: void *
+ - name: lfind
+ standards:
+ - POSIX
+ return_type: void *
+ arguments:
+ - type: void *
+ - type: void *
----------------
nickdesaulniers wrote:
These first two parameters need to be `const void *`.
If you do a full build, you can `find <build dir> -name search.h` and check that the function signature generated matches the spec.
https://github.com/llvm/llvm-project/pull/114692
More information about the libc-commits
mailing list