Null-terminated string. numberOfElements The size of the string buffer. locale Locale to use. Return Value These functions return the number of characters in the string, not including the terminating null character. If there is no null terminator within the first numberOfElements bytes of ...
If there's no null terminator within the first numberOfElements bytes of the string (or wide characters for wcsnlen), then numberOfElements is returned to indicate the error condition; null-terminated strings have lengths that are strictly less than numberOfElements. _mbstrnlen and _mbstrnlen_...
buffer == NULLandcount == 0No data is writtenThe number of characters that would have been written, not including the terminatingNULL. You can use this result to allocate sufficient buffer space for the string and a terminatingNULL, and then call the function again to fill...
Null-terminated string to be set. numberOfElements The size of the str buffer. c Character setting. locale Locale to use. Return Value Zero if successful, otherwise an error code. These functions validate their arguments. If str is a null pointer, or the numberOfElements argument...
The return value is EOF for an error or if the end of the string is reached before the first conversion. If buffer or format is a NULL pointer, the invalid parameter handler is invoked, as described in Parameter validation. If execution is allowed to continue, these functions return -1 ...
string1, string2 Null-terminated strings to compare. locale Locale to use. Return value Each of these functions returns a value indicating the relationship of string1 to string2, as follows. Expand table Return valueRelationship of string1 to string2 < 0 string1 less than...
In all cases, the resulting string is terminated with a null character. If copying takes place between strings that overlap, the behavior is undefined. IfstrSourceorstrDestisNULL, ornumberOfElementsis zero, the invalid parameter handler is invoked, as described inParameter validation. If execution...
In all cases, the resulting string is terminated with a null character. If copying takes place between strings that overlap, the behavior is undefined. IfstrSourceorstrDestisNULL, ornumberOfElementsis zero, the invalid parameter handler is invoked, as described inParameter validation. If execution...
string1,string2 Null-terminated strings to compare. locale Locale to use. Return value The return value for each of these functions indicates the ordinal relation ofstring1tostring2. ValueRelationship ofstring1tostring2 < 0string1is less thanstring2 ...
mslog_innerapi_*: 库内部使用,将不详解; ms_string mslog_api_curDTime(ms_string ms_in frm,ms_string ms_out strCurDTime); 获取当前的日期和时间字符串,格式通过frm指定; ms_u64 mslog_api_us(ms_void); 获取当前的时间戳,单位微妙 ms_bool mslog_api_timerAsyncSec(time_t * ms_in Etimep,...