From 3bf091476a0a544e388e9c8b7aab3371a7d936b5 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 24 Nov 2004 00:45:41 +0000 Subject: 2004-11-23 Jeff Johnston * libc/include/stdio.h: Add new iprintf and iscanf variants. Also do some reordering. * libc/machine/powerpc/vfscanf.c: Remove __sccl function. * libc/stdio/Makefile.am: Add support for new iprintf and iscanf family functions. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/fiprintf.c: Remove doc to siprintf.c. * libc/stdio/iprintf.c: Ditto. * libc/stdio/local.h (__svfiscanf_r): New prototype. * libc/stdio/siprintf.c: Add docs for various iprintf family functions. * libc/stdio/sniprintf.c: Move docs to siprintf.c. * libc/stdio/stdio.tex: Add new functions. * libc/stdio/vfscanf.c: Split out __sccl function to separate file and add special name defines so this file can be used to build vfiscanf.o. * libc/stdio/asiprintf.c: New file. * libc/stdio/fiscanf.c: Ditto. * libc/stdio/iscanf.c: Ditto. * libc/stdio/sccl.c: Ditto. * libc/stdio/siscanf.c: Ditto. * libc/stdio/vasiprintf.c: Ditto. * libc/stdio/viprintf.c: Ditto. * libc/stdio/viscanf.c: Ditto. * libc/stdio/vsiprintf.c: Ditto. * libc/stdio/vsiscanf.c: Ditto. * libc/stdio/vsniprintf.c: Ditto. --- newlib/libc/stdio/sniprintf.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'newlib/libc/stdio/sniprintf.c') diff --git a/newlib/libc/stdio/sniprintf.c b/newlib/libc/stdio/sniprintf.c index 042a42e79..7650cd080 100644 --- a/newlib/libc/stdio/sniprintf.c +++ b/newlib/libc/stdio/sniprintf.c @@ -17,45 +17,6 @@ /* This code created by modifying snprintf.c so copyright inherited. */ -/* -FUNCTION -<>---write formatted output (integer only) - -INDEX - sniprintf - -ANSI_SYNOPSIS - #include - - int sniprintf(char *<[str]>, size_t <[size]>, const char *<[format]> [, <[arg]>, ...]); - -TRAD_SYNOPSIS - #include - - int sniprintf(<[str]>, size_t <[size]>, <[format]> [, <[arg]>, ...]); - char *<[str]>; - size_t <[size]>; - char *<[format]>; - -DESCRIPTION -<> is a restricted version of <>: it has the same -arguments and behavior, save that it cannot perform any floating-point -formatting: the <>, <>, <>, <>, and <> type specifiers -are not recognized. - -RETURNS - <> returns the number of bytes in the output string, - save that the concluding <> is not counted. - <> returns when the end of the format string is - encountered. - -PORTABILITY -<> is not required by ANSI C. - -Supporting OS subroutines required: <>, <>, <>, -<>, <>, <>, <>. -*/ - #include <_ansi.h> #include #include -- cgit v1.2.3