mirror of
https://gitlab.com/bztsrc/posix-uefi.git
synced 2024-12-28 06:55:08 +01:00
Note about fools on reddit
This commit is contained in:
parent
6fa3e810b4
commit
99a621371f
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue