The manual
ginnOS
The reference: libc, the libraries and the kernel
Toggle main menu visibility
Loading...
Searching...
No Matches
langinfo.h
Go to the documentation of this file.
1
#pragma once
2
3
/**
4
* @file langinfo.h
5
* @brief facts about the locale. ginnOS has the "C" locale with UTF-8
6
* text, so the answers are fixed.
7
*/
8
9
typedef
int
nl_item
;
10
11
#define CODESET 0
// "UTF-8"
12
#define D_T_FMT 1
// "%a %b %e %H:%M:%S %Y"
13
#define D_FMT 2
// "%m/%d/%y"
14
#define T_FMT 3
// "%H:%M:%S"
15
#define T_FMT_AMPM 4
// "%I:%M:%S %p"
16
#define AM_STR 5
// "AM"
17
#define PM_STR 6
// "PM"
18
#define RADIXCHAR 7
// "."
19
#define THOUSEP 8
// ""
20
#define YESEXPR 9
// "^[yY]"
21
#define NOEXPR 10
// "^[nN]"
22
23
/**
24
* @return the text for an item, or "" for an item it does not know.
25
*/
26
char
*
nl_langinfo
(
nl_item
item);
nl_item
int nl_item
Definition
langinfo.h:9
nl_langinfo
char * nl_langinfo(nl_item item)
src
libc
include
langinfo.h
Generated by
1.18.0