[libc-commits] [libc] [libc] implement pathconf/fpathconf (PR #87165)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Mon May 27 09:32:02 PDT 2024


================
@@ -160,6 +167,20 @@ add_entrypoint_object(
     .${LIBC_TARGET_OS}.lseek
 )
 
+add_entrypoint_object(
+  pathconf
+  ALIAS
+  DEPENDS
+    .${LIBC_TARGET_OS}.pathconf
+)
+
+add_object_library(
----------------
SchrodingerZhu wrote:

I meant you can move `libc.src.unistd.pathconf_utils` to `libc.src.unistd.linux.pathconf_utils` since `pathconf_utils` is `linux`-specific.

https://github.com/llvm/llvm-project/pull/87165


More information about the libc-commits mailing list