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

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Thu May 16 21:15:07 PDT 2024


================
@@ -273,6 +287,33 @@ add_entrypoint_object(
     libc.src.errno.errno
 )
 
+add_entrypoint_object(
+  pathconf
+  SRCS
+  pathconf.cpp
+  HDRS
+    ../pathconf.h
+  DEPENDS
+    libc.include.unistd
+    libc.include.sys_syscall
+    libc.src.__support.OSUtil.osutil
+    libc.src.errno.errno
+    libc.src.unistd.pathconf_utils
+)
+
+add_header_library(
+  pathconf_utils
----------------
SchrodingerZhu wrote:

could you add one more space here

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


More information about the libc-commits mailing list