[libc-commits] [libc] [libc] Implement fcntl when only SYS_fcntl64 is available (PR #97740)
Mikhail R. Gadelha via libc-commits
libc-commits at lists.llvm.org
Thu Jul 4 09:30:17 PDT 2024
================
@@ -19,6 +19,14 @@
#include <stdarg.h>
#include <sys/syscall.h> // For syscall numbers.
+#if SYS_fcntl
+constexpr auto FCNTL_SYSCALL_ID = SYS_fcntl;
----------------
mikhailramalho wrote:
I can actually make this a local variable, thanks for the suggestion
https://github.com/llvm/llvm-project/pull/97740
More information about the libc-commits
mailing list