]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man/man3/stpncpy.3: EXAMPLES: Remove 'SRC' BEGIN/END comments master
authorAlejandro Colomar <alx@kernel.org>
Mon, 3 Aug 2026 00:25:06 +0000 (02:25 +0200)
committerAlejandro Colomar <alx@kernel.org>
Mon, 3 Aug 2026 00:25:18 +0000 (02:25 +0200)
This example is incomplete, and won't build.

Fixes: 10f9e349c888 (2026-08-03; "man/man3/stpncpy.3: EXAMPLES: Use a more realistic example")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man3/stpncpy.3

index 78e7a9fc8a9df25e02ec455581d2fe73026c2311..1ff292ba5f02754cc0c1e6806810340049fe3739 100644 (file)
@@ -147,12 +147,10 @@ such as those in
 members.
 .P
 .in +4n
-.\" SRC BEGIN (stpncpy.c)
 .EX
 strncpy(utmp->ut_user, "foo", countof(utmp->ut_user));
 .EE
 .in
-.\" SRC END
 .SH SEE ALSO
 .BR memory.h (3head),
 .BR wcpncpy (3),