10 char achAddBuffer[2] = { 0 };
11 const char *pszAdd =
NULL;
12 size_t remaining = len - 1, add_len = 0;
13 const char *pszCurrent = nl_langinfo( T_FMT );
17 while ( *pszCurrent!=0 ) {
18 char ch = *pszCurrent;
22 pszAdd = achAddBuffer;
24 }
else if ( do_fmt ) {
54 pszAdd =
"hh:mm:ss tt";
87 pszAdd = achAddBuffer;
93 if( remaining < add_len ) {
96 strcpy( pszOutput, pszAdd );