All of lore.kernel.org
 help / color / mirror / Atom feed
* Issue in man page wcsncpy.3
@ 2022-12-04  9:07 Helge Kreutzmann
  2022-12-04 20:42 ` Alejandro Colomar
  2022-12-04 20:44 ` Alejandro Colomar
  0 siblings, 2 replies; 15+ messages in thread
From: Helge Kreutzmann @ 2022-12-04  9:07 UTC (permalink / raw)
  To: alx.manpages; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    Is the "L" in the bracket (for the NULL character) correct?

"The B<wcsncpy>()  function is the wide-character equivalent of the "
"B<strncpy>(3)  function.  It copies at most I<n> wide characters from the "
"wide-character string pointed to by I<src>, including the terminating null "
"wide character (L\\(aq\\e0\\(aq), to the array pointed to by I<dest>.  "
"Exactly I<n> wide characters are written at I<dest>.  If the length "
"I<wcslen(src)> is smaller than I<n>, the remaining wide characters in the "
"array pointed to by I<dest> are filled with null wide characters.  If the "
"length I<wcslen(src)> is greater than or equal to I<n>, the string pointed "
"to by I<dest> will not be terminated by a null wide character."

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Issue in man page wcsncpy.3
@ 2023-03-11 17:13 Helge Kreutzmann
  2023-03-11 23:23 ` Alejandro Colomar
  0 siblings, 1 reply; 15+ messages in thread
From: Helge Kreutzmann @ 2023-03-11 17:13 UTC (permalink / raw)
  To: alx.manpages; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    null wide characters → NUL wide characters?

"The B<wcsncpy>()  function is the wide-character equivalent of the "
"B<strncpy>(3)  function.  It copies at most I<n> wide characters from the "
"wide-character string pointed to by I<src>, including the terminating null "
"wide character (L\\[aq]\\e0\\[aq]), to the array pointed to by I<dest>.  "
"Exactly I<n> wide characters are written at I<dest>.  If the length "
"I<wcslen(src)> is smaller than I<n>, the remaining wide characters in the "
"array pointed to by I<dest> are filled with null wide characters.  If the "
"length I<wcslen(src)> is greater than or equal to I<n>, the string pointed "
"to by I<dest> will not be terminated by a null wide character."

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Issue in man page wcsncpy.3
@ 2025-08-24 14:48 Helge Kreutzmann
  0 siblings, 0 replies; 15+ messages in thread
From: Helge Kreutzmann @ 2025-08-24 14:48 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    B<…>size_t n → B<…size_t> I<n>

"B<wchar_t *wcsncpy(>size_t n;\n"
"B<                 wchar_t >I<dest>B<[restrict >I<n>B<],>\n"
"B<                 const wchar_t *restrict >I<src>B<,>\n"
"B<                 size_t >I<n>B<);>\n"

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-08-24 14:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-04  9:07 Issue in man page wcsncpy.3 Helge Kreutzmann
2022-12-04 20:42 ` Alejandro Colomar
2022-12-04 22:44   ` Alejandro Colomar
2022-12-04 23:06   ` Sam James
2022-12-04 23:09     ` Sam James
2022-12-04 23:28       ` Alejandro Colomar
2022-12-04 23:14     ` Alejandro Colomar
2022-12-04 20:44 ` Alejandro Colomar
2022-12-05 17:09   ` Helge Kreutzmann
2022-12-05 17:55     ` G. Branden Robinson
2023-01-25 20:01       ` Jakub Wilk
  -- strict thread matches above, loose matches on Subject: below --
2023-03-11 17:13 Helge Kreutzmann
2023-03-11 23:23 ` Alejandro Colomar
2023-03-12  4:54   ` Helge Kreutzmann
2025-08-24 14:48 Helge Kreutzmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.