VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
shell
sys
linux
include
simple_libc
xlocale.h
Go to the documentation of this file.
1
#ifndef __SIMPLE_LIBC_XLOCALE_H__
2
#define __SIMPLE_LIBC_XLOCALE_H__
3
4
#include "
shell/sys/linux/vsf_linux_cfg.h
"
5
6
#if VSF_LINUX_CFG_RELATIVE_PATH == ENABLED
7
#else
8
#endif
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
struct
__locale_struct
{
15
// TODO:
16
int
dummy
;
17
};
18
typedef
struct
__locale_struct
*
locale_t
;
19
20
#define scanf_l(__loc, ...) scanf(__VA_ARGS__)
21
#define fscanf_l(__file, __loc, ...) fscanf(__file, __VA_ARGS__)
22
#define sscanf_l(__str, __loc, ...) sscanf(__str, __VA_ARGS__)
23
#define vscanf_l(__loc, ...) vscanf(__VA_ARGS__)
24
#define vfscanf_l(__file, __loc, ...) vfscanf(__file, __VA_ARGS__)
25
#define vsscanf_l(__str, __loc, ...) vsscanf(__str, __VA_ARGS__)
26
27
#define printf_l(__loc, ...) printf(__VA_ARGS__)
28
#define fprintf_l(__file, __loc, ...) fprintf(__file, __VA_ARGS__)
29
#define sprintf_l(__str, __loc, ...) sprintf(__str, __VA_ARGS__)
30
#define snprintf_l(__str, __size, __loc, ...) snprintf(__str, __size, __VA_ARGS__)
31
#define asprintf_l(__ret, __loc, ...) asprintf(__ret, __VA_ARGS__)
32
#define vprintf_l(__loc, ...) vprintf(__VA_ARGS__)
33
#define vfprintf_l(__file, __loc, ...) vfprintf(__file, __VA_ARGS__)
34
#define vsprintf_l(__str, __loc, ...) vsprintf(__str, __VA_ARGS__)
35
#define vsnprintf_l(__str, __size, __loc, ...) vsnprintf_l(__str, __size, __VA_ARGS__)
36
#define vasprintf_l(__ret, __loc, ...) vasprintf(__ret, __VA_ARGS__)
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
__locale_struct
Definition
xlocale.h:14
__locale_struct::dummy
int dummy
Definition
xlocale.h:16
vsf_linux_cfg.h
locale_t
struct __locale_struct * locale_t
Definition
xlocale.h:18
Generated by
1.9.8