WCSLEN(3)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Michael

1)
Just thinking if WCSLEN(3) should say the size of wchar_t, its actually 4-bytes. I had thought it might have been UTF16 2-bytes large.

I don't think there is a specific whar_t man page which could list this information already?


2)
STRLEN(3)

BTW, maybe the text can be adjusted to be consistent, either "calculates" or "determines".

I'd say "counts" is actually better.


STRLEN(3)
DESCRIPTION
The strlen() function calculates the length of the string pointed to by
       s, excluding the terminating null byte ('\0').


WCSLEN(3)
DESCRIPTION
The wcslen() function is the wide-character equivalent of the strlen(3) function. It determines the length of the wide-character string pointed to by s, excluding the terminating null wide character (L'\0').


Jonny



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux