[libc-commits] [PATCH] D71094: [libc] Add implementation of errno and define the other macros of errno.h.
Fangrui Song via Phabricator via libc-commits
libc-commits at lists.llvm.org
Fri Dec 6 10:22:00 PST 2019
MaskRay added inline comments.
================
Comment at: libc/config/linux/api.td:106
+
+ // POSIX
+ SimpleMacroDef<"EPERM", "4">,
----------------
This comment may give a false impression that these constants are defined by POSIX but they are not.
On FreeBSD, the values are entirely different.
Apparently this will soon be a Linux only project after more Linux specific things are unconsciously baked in.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71094/new/
https://reviews.llvm.org/D71094
More information about the libc-commits
mailing list