diff options
author | Eric Andersen <andersen@codepoet.org> | 2000-08-11 01:23:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2000-08-11 01:23:29 +0000 |
commit | 84866232d9644a02d613e11710d0f3abe8c7a66e (patch) | |
tree | a049bcdec016a50126beb40941fc786aa4a8b150 /include/stdio.h | |
parent | 3973dd83bfc875c6ec2d71b99f17e72b578d517d (diff) |
Yet more updates. Getting closer....
-Erik
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h index 5f944f1f7..654cb8e55 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -172,6 +172,15 @@ extern int vfprintf __P ((FILE *__restrict __s, extern int vsprintf __P ((char *__restrict __s, __const char *__restrict __format, va_list __arg)); +/* Maximum chars of output to write in MAXLEN. */ +extern int snprintf __P ((char *__restrict __s, size_t __maxlen, + __const char *__restrict __format, ...)) + __attribute__ ((__format__ (__printf__, 3, 4))); +/* Maximum chars of output to write in MAXLEN. */ +extern int vsnprintf __P ((char *__restrict __s, size_t __maxlen, + __const char *__restrict __format, + va_list __arg)) + __attribute__ ((__format__ (__printf__, 3, 0))); |