To: None <gnats-bugs@gnats.netbsd.org>
From: None <franklin@elfie.org>
List: netbsd-bugs
Date: 11/23/2001 15:01:53
>Number: 14697
>Category: kern
>Synopsis: Some section 9 man pages cite <systm.h> instead of <sys/systm.h>
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 23 12:40:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: John Franklin
>Release: NetBSD 1.5Y
>Organization:
John Franklin
franklin@elfie.org
ICBM: 35°48'19"N 78°46'39"W
>Environment:
System: NetBSD deathmitten 1.5Y NetBSD 1.5Y (DM.MP) #4: Thu Nov 22 18:17:09 EST 2001 franklin@deathmitten:/usr/src/sys/arch/i386-MP/compile/DM.MP i386
Architecture: i386
Machine: i386
>Description:
Some of the man pages in section 9 cite <systm.h> instead of <sys/systm.h> for the required include file.
>How-To-Repeat:
read any of man pages cited below.
>Fix:
Apply the following patches:
Index: bcmp.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/bcmp.9,v
retrieving revision 1.2
diff -u -r1.2 bcmp.9
--- bcmp.9 2001/09/04 02:48:40 1.2
+++ bcmp.9 2001/11/23 20:29:36
@@ -41,7 +41,7 @@
.Nm bcmp
.Nd compare byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft int
.Fn bcmp "const void *b1" "const void *b2" "size_t len"
.Sh DESCRIPTION
Index: bcopy.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/bcopy.9,v
retrieving revision 1.3
diff -u -r1.3 bcopy.9
--- bcopy.9 2001/09/04 02:51:15 1.3
+++ bcopy.9 2001/11/23 20:29:36
@@ -42,7 +42,7 @@
.Nm bcopy
.Nd copy byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft void
.Fn bcopy "const void *src" "void *dst" "size_t len"
.Sh DESCRIPTION
Index: bzero.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/bzero.9,v
retrieving revision 1.3
diff -u -r1.3 bzero.9
--- bzero.9 2001/09/04 02:48:40 1.3
+++ bzero.9 2001/11/23 20:29:36
@@ -42,7 +42,7 @@
.Nm bzero
.Nd write zeroes to a byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft void
.Fn bzero "void *b" "size_t len"
.Sh DESCRIPTION
Index: memcmp.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/memcmp.9,v
retrieving revision 1.1
diff -u -r1.1 memcmp.9
--- memcmp.9 2001/07/07 05:05:18 1.1
+++ memcmp.9 2001/11/23 20:29:36
@@ -43,7 +43,7 @@
.Nm memcmp
.Nd compare byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft int
.Fn memcmp "const void *b1" "const void *b2" "size_t len"
.Sh DESCRIPTION
Index: memcpy.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/memcpy.9,v
retrieving revision 1.1
diff -u -r1.1 memcpy.9
--- memcpy.9 2001/07/07 05:05:18 1.1
+++ memcpy.9 2001/11/23 20:29:36
@@ -43,7 +43,7 @@
.Nm memcpy
.Nd copy byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft void *
.Fn memcpy "void * restrict dst" "const void * restrict src" "size_t len"
.Sh DESCRIPTION
Index: memmove.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/memmove.9,v
retrieving revision 1.1
diff -u -r1.1 memmove.9
--- memmove.9 2001/07/07 05:05:19 1.1
+++ memmove.9 2001/11/23 20:29:36
@@ -43,7 +43,7 @@
.Nm memmove
.Nd copy byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft void *
.Fn memmove "void *dst" "const void *src" "size_t len"
.Sh DESCRIPTION
Index: memset.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/memset.9,v
retrieving revision 1.1
diff -u -r1.1 memset.9
--- memset.9 2001/07/07 05:05:19 1.1
+++ memset.9 2001/11/23 20:29:36
@@ -43,7 +43,7 @@
.Nm memset
.Nd write a byte to byte string
.Sh SYNOPSIS
-.Fd #include <systm.h>
+.Fd #include <sys/systm.h>
.Ft void *
.Fn memset "void *b" "int c" "size_t len"
.Sh DESCRIPTION
>Release-Note:
>Audit-Trail:
>Unformatted: