[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:17 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
+ SRCS
+ pathconf_utils.cpp
----------------
SchrodingerZhu wrote:
similarly
https://github.com/llvm/llvm-project/pull/87165
More information about the libc-commits
mailing list