[libc-commits] [libc] [libc][errno] Remove non asm generic errno (PR #92172)

Robin Caloudis via libc-commits libc-commits at lists.llvm.org
Tue May 14 13:41:02 PDT 2024


https://github.com/robincaloudis created https://github.com/llvm/llvm-project/pull/92172

`EILSEQ` is not part of the generic asm error macros. See https://github.com/torvalds/linux/blob/4b95dc87362aa57bdd0dcbad109ca5e5ef3cbb6c/include/uapi/asm-generic/errno-base.h for the full list of generic asm errno codes. 

>From 2818b38735e20c03cd9b844d01649a3edc48fb20 Mon Sep 17 00:00:00 2001
From: Robin Caloudis <robin.caloudis at gmx.de>
Date: Tue, 14 May 2024 22:33:15 +0200
Subject: [PATCH] [libc][errno] Remove non asm generic errno

---
 libc/include/llvm-libc-macros/generic-error-number-macros.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libc/include/llvm-libc-macros/generic-error-number-macros.h b/libc/include/llvm-libc-macros/generic-error-number-macros.h
index b5b1b676dacc3..cb4411fbac665 100644
--- a/libc/include/llvm-libc-macros/generic-error-number-macros.h
+++ b/libc/include/llvm-libc-macros/generic-error-number-macros.h
@@ -43,7 +43,6 @@
 #define EPIPE 32
 #define EDOM 33
 #define ERANGE 34
-#define EILSEQ 35
 #define ENAMETOOLONG 36
 #define EOVERFLOW 75
 



More information about the libc-commits mailing list