[libc-commits] [PATCH] D148069: [LIBC] Implement remainder of posix 'sched.h' minus `SCHED_SPORADIC`

Noah Goldstein via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Apr 12 11:57:30 PDT 2023


goldstein.w.n marked an inline comment as done.
goldstein.w.n added inline comments.


================
Comment at: libc/src/sched/linux/sched_get_priority_max.cpp:20
+LLVM_LIBC_FUNCTION(int, sched_get_priority_max, (int policy)) {
+  long ret = __llvm_libc::syscall_impl(146, policy);
+  if (ret < 0) {
----------------
michaelrj wrote:
> does this syscall not have a name?
Bah, will fix from debugging (was forgetting to return `ret` but went a bit crazy first).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148069/new/

https://reviews.llvm.org/D148069



More information about the libc-commits mailing list