On Sat, 14 Mar 2015 01:49:22 -0400
"Ted Unangst" <[email protected]> wrote:

> Thanks. I restored the systm.h include instead. It's rare for C files
> to include libkern headers directly. I think systm.h remains the
> correct header for strcmp.

Thanks for the clarification. I was going by the SYNOPSIS section of
kern(9). Would the below diff make sense, if systm.h is more correct?

Index: share/man/man9/kern.9
===================================================================
RCS file: /cvs/src/share/man/man9/kern.9,v
retrieving revision 1.21
diff -u -p -r1.21 kern.9
--- share/man/man9/kern.9       9 Dec 2014 14:41:00 -0000       1.21
+++ share/man/man9/kern.9       14 Mar 2015 06:00:25 -0000
@@ -31,7 +31,7 @@
 .Nm kern
 .Nd kernel library routines
 .Sh SYNOPSIS
-.In lib/libkern/libkern.h
+.In sys/systm.h
 .Sh DESCRIPTION
 The
 .Nm

Reply via email to