diff options
| author | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
|---|---|---|
| committer | cvs2svn <cvs2svn@FreeBSD.org> | 1999-01-21 00:55:32 +0000 |
| commit | 76b5366091f76c9bc73570149ef5055648fc2c39 (patch) | |
| tree | 590d020e0f2a5bea6e09d66d951a674443b21d67 /lib/libstand/printf.c | |
| parent | 4b4d01da6f07f7754ff6a6e4f5223e9f0984d1a6 (diff) | |
Diffstat (limited to 'lib/libstand/printf.c')
| -rw-r--r-- | lib/libstand/printf.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/lib/libstand/printf.c b/lib/libstand/printf.c index 5135e10183a93..8c7b38477a7ea 100644 --- a/lib/libstand/printf.c +++ b/lib/libstand/printf.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)subr_prf.c 8.3 (Berkeley) 1/21/94 - * $Id: printf.c,v 1.1.1.1 1998/08/20 08:19:55 msmith Exp $ + * $Id: subr_prf.c,v 1.46 1998/05/28 09:30:20 phk Exp $ */ /* @@ -74,6 +74,9 @@ vprintf(const char *fmt, va_list ap) kvprintf(fmt, putchar, NULL, 10, ap); } +/* + * Scaled down version of sprintf(3). + */ int sprintf(char *buf, const char *cfmt, ...) { @@ -87,15 +90,6 @@ sprintf(char *buf, const char *cfmt, ...) return retval; } -void -vsprintf(char *buf, const char *cfmt, va_list ap) -{ - int retval; - - retval = kvprintf(cfmt, NULL, (void *)buf, 10, ap); - buf[retval] = '\0'; -} - /* * Put a number (base <= 16) in a buffer in reverse order; return an * optional length and a pointer to the NULL terminated (preceded?) |
