prg_string_posix_locale_begin()
Abstract
Sets the program’s locale to POSIX/C mode.
Syntax
prg_string_posix_locale_begin ()
| Argument | Type | Description |
|---|---|---|
| No arguments. |
Return Type
char *
The previous locale string (to be used with prg_string_posix_locale_end() when resetting the original locale).
Header
prg_string_funcs.h
Details
This function allocates memory to hold the previous locale and returns a pointer to it. Use this function to set the locale to a safe mode for writing and parsing files that the user will not edit.