Module Name: src
Committed By: maya
Date: Sun May 27 21:09:39 UTC 2018
Modified Files:
src/distrib/sets/lists/comp: mi
src/share/man/man9: Makefile kprintf.9
Log Message:
Don't mention sprintf and vsprintf, they don't exist in the kernel.
Drop MLINKS, too.
To generate a diff of this commit:
cvs rdiff -u -r1.2196 -r1.2197 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.420 -r1.421 src/share/man/man9/Makefile
cvs rdiff -u -r1.36 -r1.37 src/share/man/man9/kprintf.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.2196 src/distrib/sets/lists/comp/mi:1.2197
--- src/distrib/sets/lists/comp/mi:1.2196 Thu May 24 22:37:58 2018
+++ src/distrib/sets/lists/comp/mi Sun May 27 21:09:39 2018
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.2196 2018/05/24 22:37:58 christos Exp $
+# $NetBSD: mi,v 1.2197 2018/05/27 21:09:39 maya Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
./etc/mtree/set.comp comp-sys-root
@@ -11561,7 +11561,7 @@
./usr/share/man/cat9/spltty.0 comp-sys-catman .cat
./usr/share/man/cat9/splvm.0 comp-sys-catman .cat
./usr/share/man/cat9/splx.0 comp-sys-catman .cat
-./usr/share/man/cat9/sprintf.0 comp-sys-catman .cat
+./usr/share/man/cat9/sprintf.0 comp-obsolete obsolete
./usr/share/man/cat9/stathz.0 comp-sys-catman .cat
./usr/share/man/cat9/store.0 comp-sys-catman .cat
./usr/share/man/cat9/subyte.0 comp-sys-catman .cat
@@ -11836,7 +11836,7 @@
./usr/share/man/cat9/vrele_async.0 comp-sys-catman .cat
./usr/share/man/cat9/vslock.0 comp-obsolete obsolete
./usr/share/man/cat9/vsnprintf.0 comp-sys-catman .cat
-./usr/share/man/cat9/vsprintf.0 comp-sys-catman .cat
+./usr/share/man/cat9/vsprintf.0 comp-obsolete obsolete
./usr/share/man/cat9/vsunlock.0 comp-obsolete obsolete
./usr/share/man/cat9/vtruncbuf.0 comp-sys-catman .cat
./usr/share/man/cat9/vwakeup.0 comp-sys-catman .cat
@@ -19222,7 +19222,7 @@
./usr/share/man/html9/spltty.html comp-sys-htmlman html
./usr/share/man/html9/splvm.html comp-sys-htmlman html
./usr/share/man/html9/splx.html comp-sys-htmlman html
-./usr/share/man/html9/sprintf.html comp-sys-htmlman html
+./usr/share/man/html9/sprintf.html comp-obsolete obsolete
./usr/share/man/html9/stathz.html comp-sys-htmlman html
./usr/share/man/html9/store.html comp-sys-htmlman html
./usr/share/man/html9/subyte.html comp-sys-htmlman html
@@ -19471,7 +19471,7 @@
./usr/share/man/html9/vrele.html comp-sys-htmlman html
./usr/share/man/html9/vrele_async.html comp-sys-htmlman html
./usr/share/man/html9/vsnprintf.html comp-sys-htmlman html
-./usr/share/man/html9/vsprintf.html comp-sys-htmlman html
+./usr/share/man/html9/vsprintf.html comp-obsolete obsolete
./usr/share/man/html9/vtruncbuf.html comp-sys-htmlman html
./usr/share/man/html9/vwakeup.html comp-sys-htmlman html
./usr/share/man/html9/wakeup.html comp-sys-htmlman html
@@ -27081,7 +27081,7 @@
./usr/share/man/man9/spltty.9 comp-sys-man .man
./usr/share/man/man9/splvm.9 comp-sys-man .man
./usr/share/man/man9/splx.9 comp-sys-man .man
-./usr/share/man/man9/sprintf.9 comp-sys-man .man
+./usr/share/man/man9/sprintf.9 comp-obsolete obsolete
./usr/share/man/man9/stathz.9 comp-sys-man .man
./usr/share/man/man9/store.9 comp-sys-man .man
./usr/share/man/man9/subyte.9 comp-sys-man .man
@@ -27356,7 +27356,7 @@
./usr/share/man/man9/vrele_async.9 comp-sys-man .man
./usr/share/man/man9/vslock.9 comp-obsolete obsolete
./usr/share/man/man9/vsnprintf.9 comp-sys-man .man
-./usr/share/man/man9/vsprintf.9 comp-sys-man .man
+./usr/share/man/man9/vsprintf.9 comp-obsolete obsolete
./usr/share/man/man9/vsunlock.9 comp-obsolete obsolete
./usr/share/man/man9/vtruncbuf.9 comp-sys-man .man
./usr/share/man/man9/vwakeup.9 comp-sys-man .man
Index: src/share/man/man9/Makefile
diff -u src/share/man/man9/Makefile:1.420 src/share/man/man9/Makefile:1.421
--- src/share/man/man9/Makefile:1.420 Sat May 12 14:49:34 2018
+++ src/share/man/man9/Makefile Sun May 27 21:09:39 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.420 2018/05/12 14:49:34 jdolecek Exp $
+# $NetBSD: Makefile,v 1.421 2018/05/27 21:09:39 maya Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -456,8 +456,8 @@ MLINKS+=kpreempt.9 kpreempt_disable.9 \
kpreempt.9 kpreempt_disabled.9 \
kpreempt.9 kpreempt_enable.9
MLINKS+=proc_find.9 pgrp_find.9
-MLINKS+=kprintf.9 printf.9 kprintf.9 printf_nolog.9 kprintf.9 sprintf.9 \
- kprintf.9 snprintf.9 kprintf.9 vprintf.9 kprintf.9 vsprintf.9 \
+MLINKS+=kprintf.9 printf.9 kprintf.9 printf_nolog.9 \
+ kprintf.9 snprintf.9 kprintf.9 vprintf.9 \
kprintf.9 vsnprintf.9 kprintf.9 uprintf.9 kprintf.9 ttyprintf.9 \
kprintf.9 tprintf.9 kprintf.9 tprintf_open.9 kprintf.9 tprintf_close.9 \
kprintf.9 aprint_normal.9 kprintf.9 aprint_naive.9 \
Index: src/share/man/man9/kprintf.9
diff -u src/share/man/man9/kprintf.9:1.36 src/share/man/man9/kprintf.9:1.37
--- src/share/man/man9/kprintf.9:1.36 Fri Oct 27 12:25:14 2017
+++ src/share/man/man9/kprintf.9 Sun May 27 21:09:39 2018
@@ -1,4 +1,4 @@
-.\" $NetBSD: kprintf.9,v 1.36 2017/10/27 12:25:14 joerg Exp $
+.\" $NetBSD: kprintf.9,v 1.37 2018/05/27 21:09:39 maya Exp $
.\"
.\" Copyright (c) 1998, 2002, 2007, 2011 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd February 1, 2017
+.Dd May 27, 2018
.Dt KPRINTF 9
.Os
.Sh NAME
@@ -291,18 +291,6 @@ if no terminal handle could be acquired.
.Xr autoconf 9 ,
.Xr boothowto 9
.Sh HISTORY
-The
-.Fn sprintf
-and
-.Fn vsprintf
-unsized string formatting functions are supported for compatibility only,
-and are not documented here.
-New code should use the size-limited
-.Fn snprintf
-and
-.Fn vsnprintf
-functions instead.
-.Pp
In
.Nx 1.5
and earlier,