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).

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.

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com