Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2004-11-24 03:45:41 +0300
committerJeff Johnston <jjohnstn@redhat.com>2004-11-24 03:45:41 +0300
commit3bf091476a0a544e388e9c8b7aab3371a7d936b5 (patch)
treeee3f3d8cf1be43b9a056e057e05def630503dace /newlib/libc/stdio/sniprintf.c
parent4b8e88e31d7efb45cddf753611fdb55f70ccdc9d (diff)
2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Diffstat (limited to 'newlib/libc/stdio/sniprintf.c')
-rw-r--r--newlib/libc/stdio/sniprintf.c39
1 files changed, 0 insertions, 39 deletions
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
-<<sniprintf>>---write formatted output (integer only)
-
-INDEX
- sniprintf
-
-ANSI_SYNOPSIS
- #include <stdio.h>
-
- int sniprintf(char *<[str]>, size_t <[size]>, const char *<[format]> [, <[arg]>, ...]);
-
-TRAD_SYNOPSIS
- #include <stdio.h>
-
- int sniprintf(<[str]>, size_t <[size]>, <[format]> [, <[arg]>, ...]);
- char *<[str]>;
- size_t <[size]>;
- char *<[format]>;
-
-DESCRIPTION
-<<sniprintf>> is a restricted version of <<snprintf>>: it has the same
-arguments and behavior, save that it cannot perform any floating-point
-formatting: the <<f>>, <<g>>, <<G>>, <<e>>, and <<F>> type specifiers
-are not recognized.
-
-RETURNS
- <<sniprintf>> returns the number of bytes in the output string,
- save that the concluding <<NULL>> is not counted.
- <<sniprintf>> returns when the end of the format string is
- encountered.
-
-PORTABILITY
-<<sniprintf>> is not required by ANSI C.
-
-Supporting OS subroutines required: <<close>>, <<fstat>>, <<isatty>>,
-<<lseek>>, <<read>>, <<sbrk>>, <<write>>.
-*/
-
#include <_ansi.h>
#include <reent.h>
#include <stdio.h>