From 571f7f10c72fa7cddd7547fb158e6d76e3c1a944 Mon Sep 17 00:00:00 2001 From: Aiden Grossman Date: Sat, 16 Aug 2025 22:02:05 +0000 Subject: [PATCH] [libc] Correct standard for getcpu Given this is a syscall wrapper and not in POSIX, this should actually be defined under the Linux standard. https://man7.org/linux/man-pages/man2/getcpu.2.html confirms. --- libc/include/sched.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/include/sched.yaml b/libc/include/sched.yaml index f14799ddf33fa..8014aa7ed61fc 100644 --- a/libc/include/sched.yaml +++ b/libc/include/sched.yaml @@ -20,7 +20,7 @@ functions: - type: const cpu_set_t * - name: getcpu standards: - - POSIX + - Linux return_type: int arguments: - type: unsigned int *