mirror of
https://gitlab.com/bztsrc/posix-uefi.git
synced 2024-12-28 06:55:08 +01:00
Merge branch 'Rubo-master-patch-42445' into 'master'
Fix grammar See merge request bztsrc/posix-uefi!2
This commit is contained in:
commit
6fa3e810b4
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue