[libc-commits] [PATCH] D71094: [libc] Add implementation of errno.
Fangrui Song via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Dec 5 17:47:57 PST 2019
MaskRay added inline comments.
================
Comment at: libc/config/linux/api.td:34
+ extern int *__errno_location();
+ #define errno *__errno_location()
+ }];
----------------
`()`
Otherwise `errno[0]` is incorrect.
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