Linux Manual Pages development
 help / color / mirror / Atom feed
* Issue in man page strlcpy.3
@ 2026-11-28 14:17 Helge Kreutzmann
  2026-11-29 11:33 ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Helge Kreutzmann @ 2026-11-28 14:17 UTC (permalink / raw)
  To: alx; +Cc: mario.blaettermann, linux-man

Without further ado, the following was found:

Issue:    Is section 9 correct here? (I cannot locate this man page in Debian atm)

"B<strscpy>(9)  is a better function for copying with truncation, as it "
"doesn't have that issue.  It's not provided by libc, so users should write "
"their own implementation."

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

* Re: Issue in man page strlcpy.3
  2026-11-28 14:17 Issue in man page strlcpy.3 Helge Kreutzmann
@ 2026-11-29 11:33 ` Alejandro Colomar
  2026-11-29 12:28   ` Helge Kreutzmann
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Colomar @ 2026-11-29 11:33 UTC (permalink / raw)
  To: Helge Kreutzmann; +Cc: mario.blaettermann, linux-man

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

Hi Helge,

> Date: 2026-11-28 14:17:28+0000
> From: Helge Kreutzmann <debian@helgefjell.de>
>
> Without further ado, the following was found:
> 
> Issue:    Is section 9 correct here?

It is correct.  Chapter 9 was added in man-pages-6.19.

> (I cannot locate this man page in Debian atm)

Perhaps there's a bug in the packaging of manpages-dev.


Cheers,
Alex

> 
> "B<strscpy>(9)  is a better function for copying with truncation, as it "
> "doesn't have that issue.  It's not provided by libc, so users should write "
> "their own implementation."
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Issue in man page strlcpy.3
  2026-11-29 11:33 ` Alejandro Colomar
@ 2026-11-29 12:28   ` Helge Kreutzmann
  2026-11-29 12:39     ` Alejandro Colomar
  0 siblings, 1 reply; 4+ messages in thread
From: Helge Kreutzmann @ 2026-11-29 12:28 UTC (permalink / raw)
  To: Alejandro Colomar; +Cc: mario.blaettermann, linux-man

[-- Attachment #1: Type: text/plain, Size: 856 bytes --]

Hello Alex,
Am Sun, Nov 29, 2026 at 12:33:57PM +0100 schrieb Alejandro Colomar:
> > Date: 2026-11-28 14:17:28+0000
> > From: Helge Kreutzmann <debian@helgefjell.de>
> >
> > Without further ado, the following was found:
> > 
> > Issue:    Is section 9 correct here?
> 
> It is correct.  Chapter 9 was added in man-pages-6.19.
> 
> > (I cannot locate this man page in Debian atm)
> 
> Perhaps there's a bug in the packaging of manpages-dev.

Ok, I report the problem there.

Btw., man9 used to be kernel internals (at least until a few years
ago), is this section repurposed now?

Greetings

          Helge

-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: Issue in man page strlcpy.3
  2026-11-29 12:28   ` Helge Kreutzmann
@ 2026-11-29 12:39     ` Alejandro Colomar
  0 siblings, 0 replies; 4+ messages in thread
From: Alejandro Colomar @ 2026-11-29 12:39 UTC (permalink / raw)
  To: Helge Kreutzmann; +Cc: mario.blaettermann, linux-man

[-- Attachment #1: Type: text/plain, Size: 1220 bytes --]

Hi Helge,

> Date: 2026-11-29 12:28:28+0000
> From: Helge Kreutzmann <debian@helgefjell.de>
>
> Hello Alex,
> Am Sun, Nov 29, 2026 at 12:33:57PM +0100 schrieb Alejandro Colomar:
> > > Date: 2026-11-28 14:17:28+0000
> > > From: Helge Kreutzmann <debian@helgefjell.de>
> > >
> > > Without further ado, the following was found:
> > > 
> > > Issue:    Is section 9 correct here?
> > 
> > It is correct.  Chapter 9 was added in man-pages-6.19.
> > 
> > > (I cannot locate this man page in Debian atm)
> > 
> > Perhaps there's a bug in the packaging of manpages-dev.
> 
> Ok, I report the problem there.
> 
> Btw., man9 used to be kernel internals (at least until a few years
> ago), is this section repurposed now?

It is still kernel internals.  strscpy(9) is a kernel function.
I documented it in the manual pages because it's especially interesting.


Cheers,
Alex

> 
> Greetings
> 
>           Helge
> 
> -- 
>       Dr. Helge Kreutzmann                     debian@helgefjell.de
>            Dipl.-Phys.                   http://www.helgefjell.de/debian.php
>         64bit GNU powered                     gpg signed mail preferred



-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2026-11-29 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 14:17 Issue in man page strlcpy.3 Helge Kreutzmann
2026-11-29 11:33 ` Alejandro Colomar
2026-11-29 12:28   ` Helge Kreutzmann
2026-11-29 12:39     ` Alejandro Colomar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox