aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/systm.h
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>1998-12-03 04:45:57 +0000
committerArchie Cobbs <archie@FreeBSD.org>1998-12-03 04:45:57 +0000
commit8245f3f5b4d08c1569c41b027ec61f8c1edeb09e (patch)
treea0e0c8b03f2e91e3260c1693f8cb58683e15e6e7 /sys/sys/systm.h
parent8c5b93b9d2fa138d0e2dff0122d412e631305530 (diff)
downloadsrc-8245f3f5b4d08c1569c41b027ec61f8c1edeb09e.tar.gz
src-8245f3f5b4d08c1569c41b027ec61f8c1edeb09e.zip
Add snprintf(3) and vsnprintf(3) capability to the kernel.
Reviewed by: bde
Notes
Notes: svn path=/head/; revision=41479
Diffstat (limited to 'sys/sys/systm.h')
-rw-r--r--sys/sys/systm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 072dc35f28b6..09b9ce5ce344 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)systm.h 8.7 (Berkeley) 3/29/95
- * $Id: systm.h,v 1.77 1998/10/09 01:44:09 msmith Exp $
+ * $Id: systm.h,v 1.78 1998/10/30 05:41:15 msmith Exp $
*/
#ifndef _SYS_SYSTM_H_
@@ -107,9 +107,11 @@ int kvprintf __P((char const *, void (*)(int, void*), void *, int,
void log __P((int, const char *, ...)) __printflike(2, 3);
void logwakeup __P((void));
int printf __P((const char *, ...)) __printflike(1, 2);
+int snprintf __P((char *, size_t, const char *, ...)) __printflike(3, 4);
int sprintf __P((char *buf, const char *, ...)) __printflike(2, 3);
void uprintf __P((const char *, ...)) __printflike(1, 2);
void vprintf __P((const char *, _BSD_VA_LIST_)) __printflike(1, 0);
+int vsnprintf __P((char *, size_t, const char *, _BSD_VA_LIST_)) __printflike(3, 0);
int vsprintf __P((char *buf, const char *, _BSD_VA_LIST_)) __printflike(2, 0);
void ttyprintf __P((struct tty *, const char *, ...)) __printflike(2, 3);