diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-09-16 19:23:55 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-09-18 03:12:58 +0000 |
commit | b9979e9a59f202c39a0d507f637c60692d5fd8aa (patch) | |
tree | 6ad3c4ce2a628314c8180c9af460e040113a0cd7 /Userland/Libraries/LibC/langinfo.h | |
parent | b8c756a53a181ab386808169be4c674b1e42c0ca (diff) | |
download | serenity-b9979e9a59f202c39a0d507f637c60692d5fd8aa.zip |
LibC: Implement most langinfo values mentioned in POSIX
Diffstat (limited to 'Userland/Libraries/LibC/langinfo.h')
-rw-r--r-- | Userland/Libraries/LibC/langinfo.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/Userland/Libraries/LibC/langinfo.h b/Userland/Libraries/LibC/langinfo.h index 3470f18f93..c52aacaa99 100644 --- a/Userland/Libraries/LibC/langinfo.h +++ b/Userland/Libraries/LibC/langinfo.h @@ -13,6 +13,67 @@ __BEGIN_DECLS enum { CODESET, + + D_T_FMT, + D_FMT, + T_FMT, + T_FMT_AMPM, + AM_STR, + PM_STR, + + DAY_1, + DAY_2, + DAY_3, + DAY_4, + DAY_5, + DAY_6, + DAY_7, + + ABDAY_1, + ABDAY_2, + ABDAY_3, + ABDAY_4, + ABDAY_5, + ABDAY_6, + ABDAY_7, + + MON_1, + MON_2, + MON_3, + MON_4, + MON_5, + MON_6, + MON_7, + MON_8, + MON_9, + MON_10, + MON_11, + MON_12, + + ABMON_1, + ABMON_2, + ABMON_3, + ABMON_4, + ABMON_5, + ABMON_6, + ABMON_7, + ABMON_8, + ABMON_9, + ABMON_10, + ABMON_11, + ABMON_12, + + ERA, + ERA_D_FMT, + ERA_D_T_FMT, + ERA_T_FMT, + + ALT_DIGITS, + RADIXCHAR, + THOUSEP, + YESEXPR, + NOEXPR, + CRNCYSTR, }; char* nl_langinfo(nl_item); |