Merge branch 'Rubo-master-patch-42445' into 'master'

Fix grammar

See merge request bztsrc/posix-uefi!2
merge-requests/3/head
bzt 2 years ago
commit 6fa3e810b4

@ -115,7 +115,7 @@ example your main() will NOT be like `main(int argc, char **argv)`, but `main(in
the other string related libc functions (like strlen() for example) will use this wide character type too. For this reason, the other string related libc functions (like strlen() for example) will use this wide character type too. For this reason,
you must specify your string literals with `L""` and characters with `L''`. To handle both configurations, `char_t` type is you must specify your string literals with `L""` and characters with `L''`. To handle both configurations, `char_t` type is
defined, which is either `char` or `wchar_t`, and the `CL()` macro which might add the `L` prefix to constant literals. defined, which is either `char` or `wchar_t`, and the `CL()` macro which might add the `L` prefix to constant literals.
Functions that supposed to handle characters in int type (like `getchar`, `putchar`), do not truncate to unsigned char, Functions that are supposed to handle characters in int type (like `getchar`, `putchar`), do not truncate to unsigned char,
rather to wchar_t. rather to wchar_t.
Sadly UEFI has no concept of reallocation. AllocatePool does not accept input, and there's no way to query the size of an Sadly UEFI has no concept of reallocation. AllocatePool does not accept input, and there's no way to query the size of an

Loading…
Cancel
Save