Note about fools on reddit

This commit is contained in:
bzt 2022-03-11 20:31:18 +01:00
parent 6fa3e810b4
commit 99a621371f

View file

@ -8,6 +8,16 @@ greatly inspired by [gnu-efi](https://sourceforge.net/projects/gnu-efi) (big big
smaller, easier to integrate (works with LLVM Clang and GNU gcc both) and easier to use because it provides a POSIX like
API for your UEFI application.
------------------------------------------------------------------------------------------------------------------------
NOTE: a smartypants on reddit is worried that I'm supposedly "hiding something" because of the use of `-Wno-builtin-declaration-mismatch`
flag. Here's my answer to you: **I hide nothing**, that flag is only needed because you can disable transparent UTF-8 convertion.
You see, under the hood UEFI uses 16 bit characters, and for example `strlen(wchar_t *str)` or `main(int argc, wchar_t *argv)`
isn't eaxctly POSIX-standard, that's why there's a need for that flag. You should know that had you have spent more time learning
or just *reading this README* instead of falsely accusing others on reddit.
------------------------------------------------------------------------------------------------------------------------
An UEFI environment consist of two parts: a firmware with GUID protocol interfaces and a user library. We cannot change
the former, but we can make the second friendlier. That's what POSIX-UEFI does for your application. It is a small API
wrapper library around the GUID protocols, not a fully blown POSIX compatible libc implementation.