Add comments about locale dependent functions.
This commit is contained in:
1 parent
df0c95ca46
commit
56f51c59af
1 file changed
+8
-2
@@ -30,9 +30,9 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h> /* For toupper, tolower, isprint, isspace */
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdlib.h> /* For abort, malloc, realloc, free, strtol, strtoul, strtoll, strtoull, strtod, strtold, rand */
|
#include <stdlib.h> /* For abort, malloc, realloc, free, strtol, strtoul, strtoll, strtoull, strtof, strtod, strtold, rand */
|
||||||
|
|
||||||
/* By default, always use stdio. Can be turned off in specific environment if needed
|
/* By default, always use stdio. Can be turned off in specific environment if needed
|
||||||
by defining M_USE_STDIO to 0 */
|
by defining M_USE_STDIO to 0 */
|
||||||
@@ -57,6 +57,12 @@
|
|||||||
# define M_USE_SMALL_NAME 1
|
# define M_USE_SMALL_NAME 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Used functions of the libc which are locale dependent:
|
||||||
|
toupper, tolower, isprint, isspace
|
||||||
|
strtol, strtoul, strtoll, strtoull, strtof, strtod, strtold
|
||||||
|
printf, fprintf, fscanf
|
||||||
|
Theses functions may behave differently in function of the locale.
|
||||||
|
*/
|
||||||
|
|
||||||
/***************************************************************/
|
/***************************************************************/
|
||||||
/************************ Compiler Macro ***********************/
|
/************************ Compiler Macro ***********************/
|
||||||
|
|||||||
Reference in new issue
Block a user