[libc-commits] [PATCH] D135409: [libc] add sysconf with pagesize

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Oct 6 15:17:10 PDT 2022


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.

The sysconf function has many options, this patch adds the basic funtion
and the pagesize option. More options will be added in future patches.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135409

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/include/llvm-libc-macros/linux/unistd-macros.h
  libc/spec/posix.td
  libc/src/unistd/CMakeLists.txt
  libc/src/unistd/linux/CMakeLists.txt
  libc/src/unistd/linux/sysconf.cpp
  libc/src/unistd/sysconf.h
  libc/test/src/unistd/CMakeLists.txt
  libc/test/src/unistd/sysconf_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135409.465897.patch
Type: text/x-patch
Size: 5441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221006/49066fb4/attachment.bin>


More information about the libc-commits mailing list