<function returntype="char *">
<prototype>
<parameter content="double val"/>
- <parameter content="int decimals"/>
- <parameter content=" int *decpt"/>
+ <parameter content="int decimals,int *decpt"/>
<parameter content="int *sgn"/>
</prototype>
<headers>
<function returntype="char *">
<prototype>
<parameter content="float val"/>
- <parameter content="int decimals"/>
- <parameter content=" int *decpt"/>
+ <parameter content="int decimals,int *decpt"/>
<parameter content="int *sgn"/>
</prototype>
<headers>
<prototype>
<parameter content="double val"/>
<parameter content="int chars"/>
- <parameter content="int *decpt"/>
- <parameter content=" int *sgn"/>
+ <parameter content="int *decpt,int *sgn"/>
<parameter content="char *buf"/>
</prototype>
<headers>
<prototype>
<parameter content="double val"/>
<parameter content="int decimals"/>
- <parameter content="int *decpt"/>
- <parameter content=" int *sgn"/>
+ <parameter content="int *decpt,int *sgn"/>
<parameter content="char *buf"/>
</prototype>
<headers>
<construct id="function-_realloc_r" type="function">
<function returntype="void *">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" void *aptr"/>
+ <parameter content="void *reent,void *aptr"/>
<parameter content="size_t nbytes"/>
</prototype>
<headers>
<construct id="function-_memalign_r" type="function">
<function returntype="void *">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" size_t align"/>
+ <parameter content="void *reent,size_t align"/>
<parameter content="size_t nbytes"/>
</prototype>
<headers>
<construct id="function-_strtod_r" type="function">
<function returntype="double ">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" const char *str"/>
+ <parameter content="void *reent,const char *str"/>
<parameter content="char **tail"/>
</prototype>
<headers>
<construct id="function-_strtol_r" type="function">
<function returntype="long ">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" const char *s"/>
+ <parameter content="void *reent,const char *s"/>
<parameter content="char **ptr,int base"/>
</prototype>
<headers>
<construct id="function-_strtoll_r" type="function">
<function returntype="long long ">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" const char *s"/>
+ <parameter content="void *reent,const char *s"/>
<parameter content="char **ptr,int base"/>
</prototype>
<headers>
<function returntype="unsigned long ">
<prototype>
<parameter content="const char *s"/>
- <parameter content="char **ptr"/>
- <parameter content=" int base"/>
+ <parameter content="char **ptr,int base"/>
</prototype>
<headers>
<header filename = "stdlib.h"/>
<function returntype="unsigned long ">
<prototype>
<parameter content="void *reent"/>
- <parameter content="const char *s"/>
- <parameter content=" char **ptr"/>
+ <parameter content="const char *s,char **ptr"/>
<parameter content="int base"/>
</prototype>
<headers>
<function returntype="unsigned long long ">
<prototype>
<parameter content="const char *s"/>
- <parameter content="char **ptr"/>
- <parameter content=" int base"/>
+ <parameter content="char **ptr,int base"/>
</prototype>
<headers>
<header filename = "stdlib.h"/>
<function returntype="unsigned long long ">
<prototype>
<parameter content="void *reent"/>
- <parameter content="const char *s"/>
- <parameter content=" char **ptr"/>
+ <parameter content="const char *s,char **ptr"/>
<parameter content="int base"/>
</prototype>
<headers>
<construct id="function-_wcstol_r" type="function">
<function returntype="long ">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" const wchar_t *s"/>
+ <parameter content="void *reent,const wchar_t *s"/>
<parameter content="wchar_t **ptr,int base"/>
</prototype>
<headers>
<construct id="function-_wcstoll_r" type="function">
<function returntype="long long ">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" const wchar_t *s"/>
+ <parameter content="void *reent,const wchar_t *s"/>
<parameter content="wchar_t **ptr,int base"/>
</prototype>
<headers>
<function returntype="unsigned long ">
<prototype>
<parameter content="const wchar_t *s"/>
- <parameter content="wchar_t **ptr"/>
- <parameter content=" int base"/>
+ <parameter content="wchar_t **ptr,int base"/>
</prototype>
<headers>
<header filename = "wchar.h"/>
<function returntype="unsigned long ">
<prototype>
<parameter content="void *reent"/>
- <parameter content="const wchar_t *s"/>
- <parameter content=" wchar_t **ptr"/>
+ <parameter content="const wchar_t *s,wchar_t **ptr"/>
<parameter content="int base"/>
</prototype>
<headers>
<function returntype="unsigned long long ">
<prototype>
<parameter content="const wchar_t *s"/>
- <parameter content="wchar_t **ptr"/>
- <parameter content=" int base"/>
+ <parameter content="wchar_t **ptr,int base"/>
</prototype>
<headers>
<header filename = "wchar.h"/>
<function returntype="unsigned long long ">
<prototype>
<parameter content="void *reent"/>
- <parameter content="const wchar_t *s"/>
- <parameter content=" wchar_t **ptr"/>
+ <parameter content="const wchar_t *s,wchar_t **ptr"/>
<parameter content="int base"/>
</prototype>
<headers>
<groupsynopsis id="group-diprintf"/>
</function>
</construct>
+ <construct id="function-_diprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="int fd,const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-diprintf"/>
+ </function>
+ </construct>
<construct id="function-vdiprintf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-diprintf"/>
</function>
</construct>
+ <construct id="function-_vdiprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="int fd,const char *format"/>
+ <parameter content="va_list ap"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-diprintf"/>
+ </function>
+ </construct>
<construct id="group-diprintf" type="groupsynopsis">
<synopsis>
<CODE>diprintf</CODE> and <CODE>vdiprintf</CODE> are similar to <CODE>dprintf</CODE> and <CODE>vdprintf</CODE>,
<groupsynopsis id="group-dprintf"/>
</function>
</construct>
+ <construct id="function-_dprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="int fd,const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-dprintf"/>
+ </function>
+ </construct>
<construct id="function-vdprintf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-dprintf"/>
</function>
</construct>
+ <construct id="function-_vdprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="int fd,const char *format"/>
+ <parameter content="va_list ap"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-dprintf"/>
+ </function>
+ </construct>
<construct id="group-dprintf" type="groupsynopsis">
<synopsis>
<CODE>dprintf</CODE> and <CODE>vdprintf</CODE> allow printing a format, similarly to
<construct id="function-_fdopen_r" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="struct _reent *reent"/>
- <parameter content=" int fd"/>
+ <parameter content="struct _reent *reent,int fd"/>
<parameter content="const char *mode"/>
</prototype>
<headers>
<function returntype="FILE *">
<prototype>
<parameter content="void *restrict buf"/>
- <parameter content="size_t size"/>
- <parameter content=" const char *restrict mode"/>
+ <parameter content="size_t size,const char *restrict mode"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<construct id="function-_fopen_r" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="struct _reent *reent"/>
- <parameter content=" const char *file"/>
+ <parameter content="struct _reent *reent,const char *file"/>
<parameter content="const char *mode"/>
</prototype>
<headers>
<function returntype="FILE *">
<prototype>
<parameter content="const void *cookie"/>
- <parameter content="const char *mode"/>
- <parameter content=" cookie_io_functions_t functions"/>
+ <parameter content="const char *mode,cookie_io_functions_t functions"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<prototype>
<parameter content="void *buf"/>
<parameter content="size_t size"/>
- <parameter content="size_t count"/>
- <parameter content=" FILE *fp"/>
+ <parameter content="size_t count,FILE *fp"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="size_t ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="void *buf"/>
- <parameter content=" size_t size"/>
+ <parameter content="void *buf,size_t size"/>
<parameter content="size_t count"/>
<parameter content="FILE *fp"/>
</prototype>
<function returntype="FILE *">
<prototype>
<parameter content="const char *file"/>
- <parameter content="const char *mode"/>
- <parameter content=" FILE *fp"/>
+ <parameter content="const char *mode,FILE *fp"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="FILE *">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="const char *file"/>
- <parameter content=" const char *mode"/>
+ <parameter content="const char *file,const char *mode"/>
<parameter content="FILE *fp"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="FILE *fp"/>
- <parameter content=" long offset"/>
+ <parameter content="FILE *fp,long offset"/>
<parameter content="int whence"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="FILE *fp"/>
- <parameter content=" off_t offset"/>
+ <parameter content="FILE *fp,off_t offset"/>
<parameter content="int whence"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="FILE *fp"/>
- <parameter content="l const fpos_t *pos"/>
+ <parameter content="FILE *fp,const fpos_t *pos"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<construct id="function-funopen" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="const void *cookie"/>
- <parameter content=" int (*readfn) (void *cookie"/>
+ <parameter content="const void *cookie,int (*readfn) (void *cookie"/>
<parameter content="char *buf"/>
- <parameter content="int n"/>
+ <parameter content="int n),int (*writefn) (void *cookie"/>
+ <parameter content="const char *buf"/>
+ <parameter content="int n),fpos_t (*seekfn) (void *cookie"/>
+ <parameter content="fpos_t off"/>
+ <parameter content="int whence),int (*closefn) (void *cookie)"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<construct id="function-fropen" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="const void *cookie"/>
- <parameter content=" int (*readfn) (void *cookie"/>
+ <parameter content="const void *cookie,int (*readfn) (void *cookie"/>
<parameter content="char *buf"/>
<parameter content="int n)"/>
</prototype>
<construct id="function-fwopen" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="const void *cookie"/>
- <parameter content=" int (*writefn) (void *cookie"/>
+ <parameter content="const void *cookie,int (*writefn) (void *cookie"/>
<parameter content="const char *buf"/>
<parameter content="int n)"/>
</prototype>
<function returntype="size_t ">
<prototype>
<parameter content="const void *buf"/>
- <parameter content="size_t size"/>
- <parameter content=" size_t count"/>
+ <parameter content="size_t size,size_t count"/>
<parameter content="FILE *fp"/>
</prototype>
<headers>
<prototype>
<parameter content="struct _reent *ptr"/>
<parameter content="const void *buf"/>
- <parameter content="size_t size"/>
- <parameter content=" size_t count"/>
+ <parameter content="size_t size,size_t count"/>
<parameter content="FILE *fp"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="char **bufptr"/>
- <parameter content="size_t *n"/>
- <parameter content=" int delim"/>
+ <parameter content="size_t *n,int delim"/>
<parameter content="FILE *fp"/>
</prototype>
<headers>
<construct id="function-open_memstream" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="char **restrict buf"/>
- <parameter content=" size_t *restrict size"/>
+ <parameter content="char **restrict buf,size_t *restrict size"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="FILE *fp"/>
- <parameter content="char *buf"/>
- <parameter content=" int mode"/>
+ <parameter content="char *buf,int mode"/>
<parameter content="size_t size"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="FILE *fd"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format "/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fiprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_fiprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="FILE *fd,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<construct id="function-iprintf" type="function">
<function returntype="int ">
<prototype>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fiprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_iprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="char *str"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fiprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_siprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char *str,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<prototype>
<parameter content="char *str"/>
<parameter content="size_t size"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format,..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fiprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_sniprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char *str"/>
+ <parameter content="size_t size,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="char **strp"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fiprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_asiprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char **strp,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="char *">
<prototype>
<parameter content="char *str"/>
- <parameter content="size_t *size"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="size_t *size,const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fiprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_asniprintf_r" type="function">
+ <function returntype="char *">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char *str,size_t *size"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<construct id="function-iscanf" type="function">
<function returntype="int ">
<prototype>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-iscanf"/>
+ </function>
+ </construct>
+ <construct id="function-_iscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="FILE *fd"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-iscanf"/>
+ </function>
+ </construct>
+ <construct id="function-_fiscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="FILE *fd,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="const char *str"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-iscanf"/>
+ </function>
+ </construct>
+ <construct id="function-_siscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="const char *str,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="FILE *fd"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_fprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="FILE *fd,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<construct id="function-printf" type="function">
<function returntype="int ">
<prototype>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_printf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="char **strp"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-fprintf"/>
</function>
</construct>
- <construct id="function-sprintf" type="function">
+ <construct id="function-_asprintf_r" type="function">
<function returntype="int ">
<prototype>
- <parameter content="char *str"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char **strp,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-fprintf"/>
</function>
</construct>
- <construct id="function-snprintf" type="function">
+ <construct id="function-sprintf" type="function">
<function returntype="int ">
<prototype>
<parameter content="char *str"/>
- <parameter content="size_t size"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-fprintf"/>
</function>
</construct>
- <construct id="function-asnprintf" type="function">
- <function returntype="char *">
+ <construct id="function-_sprintf_r" type="function">
+ <function returntype="int ">
<prototype>
- <parameter content="char *str"/>
- <parameter content="size_t *size"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char *str,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-fprintf"/>
</function>
</construct>
- <construct id="group-fprintf" type="groupsynopsis">
- <synopsis>
- <CODE>printf</CODE> accepts a series of arguments, applies to each a
- format specifier from <CODE>*<VAR>format</VAR></CODE>, and writes the
- formatted data to <CODE>stdout</CODE>, without a terminating NUL
- character. The behavior of <CODE>printf</CODE> is undefined if there
+ <construct id="function-snprintf" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="char *str"/>
+ <parameter content="size_t size"/>
+ <parameter content="const char *format,..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_snprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char *str"/>
+ <parameter content="size_t size,const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fprintf"/>
+ </function>
+ </construct>
+ <construct id="function-asnprintf" type="function">
+ <function returntype="char *">
+ <prototype>
+ <parameter content="char *str"/>
+ <parameter content="size_t *size"/>
+ <parameter content="const char *format,..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_asnprintf_r" type="function">
+ <function returntype="char *">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="char *str,size_t *size"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-fprintf"/>
+ </function>
+ </construct>
+ <construct id="group-fprintf" type="groupsynopsis">
+ <synopsis>
+ <CODE>printf</CODE> accepts a series of arguments, applies to each a
+ format specifier from <CODE>*<VAR>format</VAR></CODE>, and writes the
+ formatted data to <CODE>stdout</CODE>, without a terminating NUL
+ character. The behavior of <CODE>printf</CODE> is undefined if there
are not enough arguments for the format. <CODE>printf</CODE> returns
when it reaches the end of the format string. If there are
more arguments than the format requires, excess arguments are
conversion specification types.
<br><br> <DL>
- <br><br> <LI> '
+ <br><br> <DT><CODE>'</CODE>
+<DD>
Since newlib only supports the C locale, this
flag has no effect in this implementation.
But in other locales, when <VAR>type</VAR> is <CODE>i</CODE>,
<CODE>d</CODE>, <CODE>u</CODE>, <CODE>f</CODE>, <CODE>F</CODE>, <CODE>g</CODE>, or <CODE>G</CODE>,
the locale-dependent thousand's separator is
inserted prior to zero padding.
- <br><br> <DT><CODE>-
- The result of the conversion is left</CODE>
+ <br><br> <DT><CODE>-</CODE>
<DD>
+ The result of the conversion is left
justified, and the right is padded with
blanks. If you do not use this flag, the
result is right justified, and padded on the
<CODE>G</CODE>) will always begin with a plus or minus
sign. (If you do not use this flag, positive
values do not begin with a plus sign.)
- <br><br> <LI> " " (space)
+ <br><br> <DT><CODE>" " (space)</CODE>
+<DD>
If the first character of a signed conversion
specification is not a sign, or if a signed
conversion results in no characters, the
specified, the zero (<CODE>0</CODE>) flag is ignored.
<br><br> Note that <CODE>0</CODE> is interpreted as a flag, not
as the beginning of a field width.
- <br><br> <LI> #
+ <br><br> <DT><CODE>#</CODE>
+<DD>
The result is to be converted to an
alternative form, according to the <VAR>type</VAR>
character:
<br><br> <DL>
- <br><br> <DT><CODE>o
- Increases precision to force the first</CODE>
+ <br><br> <DT><CODE>o</CODE>
<DD>
+ Increases precision to force the first
digit of the result to be a zero.
- <br><br> <DT><CODE>x
- A non-zero result will have a <CODE>0x</CODE></CODE>
+ <br><br> <DT><CODE>x</CODE>
<DD>
+ A non-zero result will have a <CODE>0x</CODE>
prefix.
- <br><br> <DT><CODE>X
- A non-zero result will have a <CODE>0X</CODE></CODE>
+ <br><br> <DT><CODE>X</CODE>
<DD>
+ A non-zero result will have a <CODE>0X</CODE>
prefix.
- <br><br> <LI> a, A, e, E, f, or F
+ <br><br> <DT><CODE>a, A, e, E, f, or F</CODE>
+<DD>
The result will always contain a
decimal point even if no digits follow
the point. (Normally, a decimal point
appears only if a digit follows it.)
Trailing zeros are removed.
- <br><br> <DT><CODE>g or G
- The result will always contain a
- decimal point even if no digits follow</CODE>
+ <br><br> <DT><CODE>g or G</CODE>
<DD>
+ The result will always contain a
+ decimal point even if no digits follow
the point. Trailing zeros are not
removed.
<br><br> <DT><CODE>all others</CODE>
<DD>
Undefined.
- <br><br> </DL>
- <br><br> </DL>
- <br><br> <br><br> <DT><CODE><VAR>width</VAR></CODE>
-<DD>
+ <br><br>
+</DL>
+ <br><br>
+</DL>
+ <br><br> <br><br> <LI> <VAR>width</VAR>
<br><br> <VAR>width</VAR> is an optional minimum field width. You can
either specify it directly as a decimal integer, or
indirectly by using instead an asterisk (<CODE>*</CODE>), in
left justfication, along with a positive field width.
The resulting format may be wider than the specified
width.
- <br><br> <DT><CODE><VAR>prec</VAR></CODE>
-<DD>
+ <br><br> <LI> <VAR>prec</VAR>
<br><br> <VAR>prec</VAR> is an optional field; if present, it is
introduced with `<CODE>.</CODE>' (a period). You can specify
the precision either directly as a decimal integer or
depends on the conversion <VAR>type</VAR>.
<br><br> <DL>
- <br><br> <LI> d, i, o, u, x, or X
+ <br><br> <DT><CODE>d, i, o, u, x, or X</CODE>
+<DD>
Minimum number of digits to appear. If no
precision is given, defaults to 1.
- <br><br> <DT><CODE>a or A
- Number of digits to appear after the decimal</CODE>
+ <br><br> <DT><CODE>a or A</CODE>
<DD>
+ Number of digits to appear after the decimal
point. If no precision is given, the
precision defaults to the minimum needed for
an exact representation.
- <br><br> <LI> e, E, f or F
+ <br><br> <DT><CODE>e, E, f or F</CODE>
+<DD>
Number of digits to appear after the decimal
point. If no precision is given, the
precision defaults to 6.
precision of 0 is treated the same as a
precision of 1. If no precision is given, the
precision defaults to 6.
- <br><br> <DT><CODE>s or S
- Maximum number of characters to print from the</CODE>
+ <br><br> <DT><CODE>s or S</CODE>
<DD>
+ Maximum number of characters to print from the
string. If no precision is given, the entire
string is printed.
<br><br> <DT><CODE>all others</CODE>
<DD>
undefined.
- <br><br> </DL>
- <br><br> <br><br> <DT><CODE><VAR>size</VAR>
- <br><br> <VAR>size</VAR> is an optional modifier that changes the data</CODE>
-<DD>
+ <br><br>
+</DL>
+ <br><br> <br><br> <LI> <VAR>size</VAR>
+ <br><br> <VAR>size</VAR> is an optional modifier that changes the data
type that the corresponding argument has. Behavior is
unspecified if a size is given that does not match the
<VAR>type</VAR>.
With <CODE>a</CODE>, <CODE>A</CODE>, <CODE>e</CODE>, <CODE>E</CODE>, <CODE>f</CODE>, <CODE>F</CODE>,
<CODE>g</CODE>, or <CODE>G</CODE>, specifies that the argument
is a <CODE>long double</CODE>.
- <br><br> </DL>
- <br><br> <br><br> <DT><CODE><VAR>type</VAR>
- <br><br> <VAR>type</VAR> specifies what kind of conversion <CODE>printf</CODE></CODE>
-<DD>
+ <br><br>
+</DL>
+ <br><br> <br><br> <LI> <VAR>type</VAR>
+ <br><br> <VAR>type</VAR> specifies what kind of conversion <CODE>printf</CODE>
performs. Here is a table of these:
<br><br> <DL>
<br><br> <DT><CODE>C</CODE>
<DD>
Short for <CODE>%lc</CODE>.
- <br><br> <DT><CODE>s
- Prints the elements of a pointer to <CODE>char</CODE>
- until the precision or a null character is</CODE>
+ <br><br> <DT><CODE>s</CODE>
<DD>
+ Prints the elements of a pointer to <CODE>char</CODE>
+ until the precision or a null character is
reached. If the <CODE>l</CODE> size specifier is in
effect, the pointer is to an array of
<CODE>wchar_t</CODE>, and the string is converted to
<DD>
Like <CODE>x</CODE>, but uses <CODE>ABCDEF</CODE> as digits
beyond <CODE>9</CODE>.
- <br><br> <DT><CODE>f
- Prints a signed value of the form</CODE>
+ <br><br> <DT><CODE>f</CODE>
<DD>
+ Prints a signed value of the form
<CODE>[-]9999.9999</CODE>, with the precision
determining how many digits follow the decimal
point; takes a <CODE>double</CODE> (remember that
<DD>
Like <CODE>f</CODE>, but uses <CODE>INF</CODE> and <CODE>NAN</CODE> for
non-finite numbers.
- <br><br> <DT><CODE>e
- Prints a signed value of the form</CODE>
+ <br><br> <DT><CODE>e</CODE>
<DD>
+ Prints a signed value of the form
<CODE>[-]9.9999e[+|-]999</CODE>; takes a <CODE>double</CODE>.
The digit before the decimal point is non-zero
if the value is non-zero. The precision
Like <CODE>e</CODE>, but using <CODE>E</CODE> to introduce the
exponent, and like <CODE>F</CODE> for non-finite
values.
- <br><br> <DT><CODE>g
- Prints a signed value in either <CODE>f</CODE> or <CODE>e</CODE></CODE>
+ <br><br> <DT><CODE>g</CODE>
<DD>
+ Prints a signed value in either <CODE>f</CODE> or <CODE>e</CODE>
form, based on the given value and
precision---an exponent less than -4 or
greater than the precision selects the <CODE>e</CODE>
<br><br> <DT><CODE>G</CODE>
<DD>
Like <CODE>g</CODE>, except use <CODE>F</CODE> or <CODE>E</CODE> form.
- <br><br> <DT><CODE>a
- Prints a signed value of the form</CODE>
+ <br><br> <DT><CODE>a</CODE>
<DD>
+ Prints a signed value of the form
<CODE>[-]0x1.ffffp[+|-]9</CODE>; takes a <CODE>double</CODE>.
The letters <CODE>abcdef</CODE> are used for digits
beyond <CODE>9</CODE>. The precision determines how
<construct id="function-scanf" type="function">
<function returntype="int ">
<prototype>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-scanf"/>
+ </function>
+ </construct>
+ <construct id="function-_scanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="FILE *fd"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-scanf"/>
+ </function>
+ </construct>
+ <construct id="function-_fscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="FILE *fd,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="const char *str"/>
- <parameter content="const char *format ["/>
- <parameter content="arg"/>
- <parameter content="...]"/>
+ <parameter content="const char *format"/>
+ <parameter content="..."/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ </headers>
+ <groupsynopsis id="group-scanf"/>
+ </function>
+ </construct>
+ <construct id="function-_sscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *ptr"/>
+ <parameter content="const char *str,const char *format"/>
+ <parameter content="..."/>
</prototype>
<headers>
<header filename = "stdio.h"/>
The other fields are:<br>
<DL>
<br>
- <br><br> <LI> *<br>
+ <br><br> <DT><CODE>*<br></CODE>
+<DD>
an optional marker; if present, it suppresses interpretation and<br>
assignment of this input field.<br>
<br><br> <DT><CODE><VAR>width</VAR><br></CODE>
store in size_t object<br>
<br><br> z all others no effect<br>
<br><br> </pre><br>
- <br><br> <DT><CODE><VAR>type</VAR><br>
- <br><br> A character to specify what kind of conversion<br></CODE>
+ <br><br> <DT><CODE><VAR>type</VAR><br></CODE>
<DD>
+ <br><br> A character to specify what kind of conversion<br>
<CODE>scanf</CODE> performs. Here is a table of the conversion<br>
characters:<br>
<br><br> <DL>
<DD>
Reads a character string into the array supplied.<br>
Corresponding <VAR>arg</VAR>: <CODE>(char arg[])</CODE>.<br>
- <br><br> <LI> [<VAR>pattern</VAR>]<br>
+ <br><br> <DT><CODE>[<VAR>pattern</VAR>]<br></CODE>
+<DD>
Reads a non-empty character string into memory<br>
starting at <VAR>arg</VAR>. This area must be large<br>
enough to accept the sequence and a<br>
<br><br> <DT><CODE>d<br></CODE>
<DD>
Reads a decimal integer into the corresponding <VAR>arg</VAR>: <CODE>(int *arg)</CODE>.<br>
- <br><br> <DT><CODE>D<br>
- Reads a decimal integer into the corresponding<br></CODE>
+ <br><br> <DT><CODE>D<br></CODE>
<DD>
+ Reads a decimal integer into the corresponding<br>
<VAR>arg</VAR>: <CODE>(long *arg)</CODE>.<br>
<br><br> <DT><CODE>o<br></CODE>
<DD>
<br><br> <DT><CODE>O<br></CODE>
<DD>
Reads an octal integer into the corresponding <VAR>arg</VAR>: <CODE>(long *arg)</CODE>.<br>
- <br><br> <DT><CODE>u<br>
- Reads an unsigned decimal integer into the corresponding<br></CODE>
+ <br><br> <DT><CODE>u<br></CODE>
<DD>
+ Reads an unsigned decimal integer into the corresponding<br>
<VAR>arg</VAR>: <CODE>(unsigned int *arg)</CODE>.<br>
<DT><CODE>U<br></CODE>
<DD>
Reads an unsigned decimal integer into the corresponding <VAR>arg</VAR>:<br>
<CODE>(unsigned long *arg)</CODE>.<br>
- <br><br> <LI> x,X<br>
+ <br><br> <DT><CODE>x,X<br></CODE>
+<DD>
Read a hexadecimal integer into the corresponding <VAR>arg</VAR>:<br>
<CODE>(int *arg)</CODE>.<br>
- <br><br> <LI> e, f, g<br>
+ <br><br> <DT><CODE>e, f, g<br></CODE>
+<DD>
Read a floating-point number into the corresponding <VAR>arg</VAR>:<br>
<CODE>(float *arg)</CODE>.<br>
- <br><br> <LI> E, F, G<br>
+ <br><br> <DT><CODE>E, F, G<br></CODE>
+<DD>
Read a floating-point number into the corresponding <VAR>arg</VAR>:<br>
<CODE>(double *arg)</CODE>.<br>
<br><br> <DT><CODE>i<br></CODE>
<DD>
Reads a decimal, octal or hexadecimal integer into the<br>
corresponding <VAR>arg</VAR>: <CODE>(long *arg)</CODE>.<br>
- <br><br> <DT><CODE>n<br>
- Stores the number of characters read in the corresponding<br></CODE>
+ <br><br> <DT><CODE>n<br></CODE>
<DD>
+ Stores the number of characters read in the corresponding<br>
<VAR>arg</VAR>: <CODE>(int *arg)</CODE>.<br>
<br><br> <DT><CODE>p<br></CODE>
<DD>
to each implementation; this implementation treats<br>
<CODE>%p</CODE> exactly the same as <CODE>%U</CODE>. Corresponding<br>
<VAR>arg</VAR>: <CODE>(void **arg)</CODE>. <br>
- </DL><br>
+
+</DL><br>
<br><br> <br><br> A <VAR>pattern</VAR> of characters surrounded by square brackets can be used<br>
instead of the <CODE>s</CODE> type character. <VAR>pattern</VAR> is a set of<br>
characters which define a search set of possible characters making up<br>
<br><br> Here are some <VAR>pattern</VAR> examples:<br>
<DL>
<br>
- <br><br> <LI> %[abcd]<br>
+ <br><br> <DT><CODE>%[abcd]<br></CODE>
+<DD>
matches strings containing only <CODE>a</CODE>, <CODE>b</CODE>, <CODE>c</CODE>, and <CODE>d</CODE>.<br>
- <br><br> <LI> %[^abcd]<br>
+ <br><br> <DT><CODE>%[^abcd]<br></CODE>
+<DD>
matches strings containing any characters except <CODE>a</CODE>, <CODE>b</CODE>,<br>
<CODE>c</CODE>, or <CODE>d</CODE><br>
- <br><br> <LI> %[A-DW-Z]<br>
+ <br><br> <DT><CODE>%[A-DW-Z]<br></CODE>
+<DD>
matches strings containing <CODE>A</CODE>, <CODE>B</CODE>, <CODE>C</CODE>, <CODE>D</CODE>, <CODE>W</CODE>,<br>
<CODE>X</CODE>, <CODE>Y</CODE>, <CODE>Z</CODE><br>
- <br><br> <LI> %[z-a]<br>
+ <br><br> <DT><CODE>%[z-a]<br></CODE>
+<DD>
matches the characters <CODE>z</CODE>, <CODE>-</CODE>, and <CODE>a</CODE><br>
</DL><br>
<br><br> <br><br> Floating point numbers (for field types <CODE>e</CODE>, <CODE>f</CODE>, <CODE>g</CODE>, <CODE>E</CODE>,<br>
<groupsynopsis id="group-vfprintf"/>
</function>
</construct>
+ <construct id="function-_vfprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="FILE *fp,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfprintf"/>
+ </function>
+ </construct>
<construct id="function-vprintf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-vfprintf"/>
</function>
</construct>
+ <construct id="function-_vprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfprintf"/>
+ </function>
+ </construct>
<construct id="function-vsprintf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-vfprintf"/>
</function>
</construct>
+ <construct id="function-_vsprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char *str,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfprintf"/>
+ </function>
+ </construct>
<construct id="function-vsnprintf" type="function">
<function returntype="int ">
<prototype>
<parameter content="char *str"/>
<parameter content="size_t size"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_vsnprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char *str,size_t size"/>
<parameter content="const char *fmt"/>
- <parameter content=" va_list list"/>
+ <parameter content="va_list list"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-vfprintf"/>
</function>
</construct>
+ <construct id="function-_vasprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char **str,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfprintf"/>
+ </function>
+ </construct>
<construct id="function-vasnprintf" type="function">
<function returntype="char *">
<prototype>
<parameter content="char *str"/>
<parameter content="size_t *size"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_vasnprintf_r" type="function">
+ <function returntype="char *">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char *str,size_t *size"/>
<parameter content="const char *fmt"/>
- <parameter content=" va_list list"/>
+ <parameter content="va_list list"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-vfscanf"/>
</function>
</construct>
+ <construct id="function-_vfscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="FILE *fp"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfscanf"/>
+ </function>
+ </construct>
<construct id="function-vscanf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-vfscanf"/>
</function>
</construct>
+ <construct id="function-_vscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfscanf"/>
+ </function>
+ </construct>
<construct id="function-vsscanf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-vfscanf"/>
</function>
</construct>
+ <construct id="function-_vsscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="const char *str,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-vfscanf"/>
+ </function>
+ </construct>
<construct id="group-vfscanf" type="groupsynopsis">
<synopsis>
<CODE>vscanf</CODE>, <CODE>vfscanf</CODE>, and <CODE>vsscanf</CODE> are (respectively) variants
- of <CODE>scanf</CODE>, <CODE>fscanf</CODE>, and <CODE>sscanf</CODE>. They differ only in
- allowing their caller to pass the variable argument list as a
- <CODE>va_list</CODE> object (initialized by <CODE>va_start</CODE>) rather than
+ of <CODE>scanf</CODE>, <CODE>fscanf</CODE>, and <CODE>sscanf</CODE>. They differ only in
+ allowing their caller to pass the variable argument list as a
+ <CODE>va_list</CODE> object (initialized by <CODE>va_start</CODE>) rather than
directly accepting a variable number of arguments.
<br><br> *
<h3>Returns</h3>
The return values are consistent with the corresponding functions:
<CODE>vscanf</CODE> returns the number of input fields successfully scanned,
converted, and stored; the return value does not include scanned
- fields which were not stored.
- <br><br> If <CODE>vscanf</CODE> attempts to read at end-of-file, the return value
+ fields which were not stored.
+ <br><br> If <CODE>vscanf</CODE> attempts to read at end-of-file, the return value
is <CODE>EOF</CODE>.
<br><br> If no fields were stored, the return value is <CODE>0</CODE>.
<br><br> The routines <CODE>_vscanf_r</CODE>, <CODE>_vfscanf_f</CODE>, and <CODE>_vsscanf_r</CODE> are
<groupsynopsis id="group-viprintf"/>
</function>
</construct>
+ <construct id="function-_viprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viprintf"/>
+ </function>
+ </construct>
<construct id="function-vfiprintf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-viprintf"/>
</function>
</construct>
+ <construct id="function-_vfiprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="FILE *fp,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viprintf"/>
+ </function>
+ </construct>
<construct id="function-vsiprintf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-viprintf"/>
</function>
</construct>
+ <construct id="function-_vsiprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char *str,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viprintf"/>
+ </function>
+ </construct>
<construct id="function-vsniprintf" type="function">
<function returntype="int ">
<prototype>
<parameter content="char *str"/>
<parameter content="size_t size"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_vsniprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char *str,size_t size"/>
<parameter content="const char *fmt"/>
- <parameter content=" va_list list"/>
+ <parameter content="va_list list"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-viprintf"/>
</function>
</construct>
+ <construct id="function-_vasiprintf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char **str,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viprintf"/>
+ </function>
+ </construct>
<construct id="function-vasniprintf" type="function">
<function returntype="char *">
<prototype>
<parameter content="char *str"/>
<parameter content="size_t *size"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viprintf"/>
+ </function>
+ </construct>
+ <construct id="function-_vasniprintf_r" type="function">
+ <function returntype="char *">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="char *str,size_t *size"/>
<parameter content="const char *fmt"/>
- <parameter content=" va_list list"/>
+ <parameter content="va_list list"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<groupsynopsis id="group-viscanf"/>
</function>
</construct>
+ <construct id="function-_viscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viscanf"/>
+ </function>
+ </construct>
<construct id="function-vfiscanf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-viscanf"/>
</function>
</construct>
+ <construct id="function-_vfiscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="FILE *fp"/>
+ <parameter content="const char *fmt,va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viscanf"/>
+ </function>
+ </construct>
<construct id="function-vsiscanf" type="function">
<function returntype="int ">
<prototype>
<groupsynopsis id="group-viscanf"/>
</function>
</construct>
+ <construct id="function-_vsiscanf_r" type="function">
+ <function returntype="int ">
+ <prototype>
+ <parameter content="struct _reent *reent"/>
+ <parameter content="const char *str,const char *fmt"/>
+ <parameter content="va_list list"/>
+ </prototype>
+ <headers>
+ <header filename = "stdio.h"/>
+ <header filename = "stdarg.h"/>
+ </headers>
+ <groupsynopsis id="group-viscanf"/>
+ </function>
+ </construct>
<construct id="group-viscanf" type="groupsynopsis">
<synopsis>
<CODE>viscanf</CODE>, <CODE>vfiscanf</CODE>, and <CODE>vsiscanf</CODE> are (respectively) variants
<construct id="function-_fopen64_r" type="function">
<function returntype="FILE *">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" const char *file"/>
+ <parameter content="void *reent,const char *file"/>
<parameter content="const char *mode"/>
</prototype>
<headers>
<function returntype="FILE *">
<prototype>
<parameter content="const char *file"/>
- <parameter content="const char *mode"/>
- <parameter content=" FILE *fp"/>
+ <parameter content="const char *mode,FILE *fp"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="FILE *">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="const char *file"/>
- <parameter content=" const char *mode"/>
+ <parameter content="const char *file,const char *mode"/>
<parameter content="FILE *fp"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="FILE *fp"/>
- <parameter content=" _off64_t offset"/>
+ <parameter content="FILE *fp,_off64_t offset"/>
<parameter content="int whence"/>
</prototype>
<headers>
<function returntype="int ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="FILE *fp"/>
- <parameter content=" _fpos64_t *pos"/>
+ <parameter content="FILE *fp,_fpos64_t *pos"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
<function returntype="int ">
<prototype>
<parameter content="struct _reent *ptr"/>
- <parameter content="FILE *fp"/>
- <parameter content=" const _fpos64_t *pos"/>
+ <parameter content="FILE *fp,const _fpos64_t *pos"/>
</prototype>
<headers>
<header filename = "stdio.h"/>
</function>
</construct>
<construct id="function-index" type="function">
- <function returntype="char * ">
+ <function returntype="char *">
<prototype>
<parameter content="const char *string"/>
<parameter content="int c"/>
<prototype>
<parameter content="const void *s1"/>
<parameter content="size_t l1"/>
- <parameter content="const void *s2"/>
- <parameter content=" size_t l2"/>
+ <parameter content="const void *s2,size_t l2"/>
</prototype>
<headers>
<header filename = "string.h"/>
</function>
</construct>
<construct id="function-rindex" type="function">
- <function returntype="char * ">
+ <function returntype="char *">
<prototype>
<parameter content="const char *string"/>
<parameter content="int c"/>
</function>
</construct>
<construct id="function-strchr" type="function">
- <function returntype="char * ">
+ <function returntype="char *">
<prototype>
<parameter content="const char *string"/>
<parameter content="int c"/>
for each of the values defined in `<CODE>errno.h</CODE>':
<br><br> <DL>
- <br><br> <DT><CODE>E2BIG
- Arg list too long</CODE>
+ <br><br> <DT><CODE>E2BIG</CODE>
<DD>
- <br><br> <DT><CODE>EACCES
- Permission denied</CODE>
+ Arg list too long
+ <br><br> <DT><CODE>EACCES</CODE>
<DD>
- <br><br> <DT><CODE>EADDRINUSE
- Address already in use</CODE>
+ Permission denied
+ <br><br> <DT><CODE>EADDRINUSE</CODE>
<DD>
- <br><br> <DT><CODE>EADV
- Advertise error</CODE>
+ Address already in use
+ <br><br> <DT><CODE>EADV</CODE>
<DD>
- <br><br> <DT><CODE>EAFNOSUPPORT
- Address family not supported by protocol family</CODE>
+ Advertise error
+ <br><br> <DT><CODE>EAFNOSUPPORT</CODE>
<DD>
- <br><br> <DT><CODE>EAGAIN
- No more processes</CODE>
+ Address family not supported by protocol family
+ <br><br> <DT><CODE>EAGAIN</CODE>
<DD>
- <br><br> <DT><CODE>EALREADY
- Socket already connected</CODE>
+ No more processes
+ <br><br> <DT><CODE>EALREADY</CODE>
<DD>
- <br><br> <DT><CODE>EBADF
- Bad file number</CODE>
+ Socket already connected
+ <br><br> <DT><CODE>EBADF</CODE>
<DD>
- <br><br> <DT><CODE>EBADMSG
- Bad message</CODE>
+ Bad file number
+ <br><br> <DT><CODE>EBADMSG</CODE>
<DD>
- <br><br> <DT><CODE>EBUSY
- Device or resource busy</CODE>
+ Bad message
+ <br><br> <DT><CODE>EBUSY</CODE>
<DD>
- <br><br> <DT><CODE>ECHILD
- No children</CODE>
+ Device or resource busy
+ <br><br> <DT><CODE>ECHILD</CODE>
<DD>
- <br><br> <DT><CODE>ECOMM
- Communication error</CODE>
+ No children
+ <br><br> <DT><CODE>ECOMM</CODE>
<DD>
- <br><br> <DT><CODE>ECONNABORTED
- Software caused connection abort</CODE>
+ Communication error
+ <br><br> <DT><CODE>ECONNABORTED</CODE>
<DD>
- <br><br> <DT><CODE>ECONNREFUSED
- Connection refused</CODE>
+ Software caused connection abort
+ <br><br> <DT><CODE>ECONNREFUSED</CODE>
<DD>
- <br><br> <DT><CODE>EDEADLK
- Deadlock</CODE>
+ Connection refused
+ <br><br> <DT><CODE>EDEADLK</CODE>
<DD>
- <br><br> <DT><CODE>EDESTADDRREQ
- Destination address required</CODE>
+ Deadlock
+ <br><br> <DT><CODE>EDESTADDRREQ</CODE>
<DD>
- <br><br> <DT><CODE>EEXIST
- File exists</CODE>
+ Destination address required
+ <br><br> <DT><CODE>EEXIST</CODE>
<DD>
- <br><br> <DT><CODE>EDOM
- Math argument</CODE>
+ File exists
+ <br><br> <DT><CODE>EDOM</CODE>
<DD>
- <br><br> <DT><CODE>EFAULT
- Bad address</CODE>
+ Math argument
+ <br><br> <DT><CODE>EFAULT</CODE>
<DD>
- <br><br> <DT><CODE>EFBIG
- File too large</CODE>
+ Bad address
+ <br><br> <DT><CODE>EFBIG</CODE>
<DD>
- <br><br> <DT><CODE>EHOSTDOWN
- Host is down</CODE>
+ File too large
+ <br><br> <DT><CODE>EHOSTDOWN</CODE>
<DD>
- <br><br> <DT><CODE>EHOSTUNREACH
- Host is unreachable</CODE>
+ Host is down
+ <br><br> <DT><CODE>EHOSTUNREACH</CODE>
<DD>
- <br><br> <DT><CODE>EIDRM
- Identifier removed</CODE>
+ Host is unreachable
+ <br><br> <DT><CODE>EIDRM</CODE>
<DD>
- <br><br> <DT><CODE>EINPROGRESS
- Connection already in progress</CODE>
+ Identifier removed
+ <br><br> <DT><CODE>EINPROGRESS</CODE>
<DD>
- <br><br> <DT><CODE>EINTR
- Interrupted system call</CODE>
+ Connection already in progress
+ <br><br> <DT><CODE>EINTR</CODE>
<DD>
- <br><br> <DT><CODE>EINVAL
- Invalid argument</CODE>
+ Interrupted system call
+ <br><br> <DT><CODE>EINVAL</CODE>
<DD>
- <br><br> <DT><CODE>EIO
- I/O error</CODE>
+ Invalid argument
+ <br><br> <DT><CODE>EIO</CODE>
<DD>
- <br><br> <DT><CODE>EISCONN
- Socket is already connected</CODE>
+ I/O error
+ <br><br> <DT><CODE>EISCONN</CODE>
<DD>
- <br><br> <DT><CODE>EISDIR
- Is a directory</CODE>
+ Socket is already connected
+ <br><br> <DT><CODE>EISDIR</CODE>
<DD>
- <br><br> <DT><CODE>ELIBACC
- Cannot access a needed shared library</CODE>
+ Is a directory
+ <br><br> <DT><CODE>ELIBACC</CODE>
<DD>
- <br><br> <DT><CODE>ELIBBAD
- Accessing a corrupted shared library</CODE>
+ Cannot access a needed shared library
+ <br><br> <DT><CODE>ELIBBAD</CODE>
<DD>
- <br><br> <DT><CODE>ELIBEXEC
- Cannot exec a shared library directly</CODE>
+ Accessing a corrupted shared library
+ <br><br> <DT><CODE>ELIBEXEC</CODE>
<DD>
- <br><br> <DT><CODE>ELIBMAX
- Attempting to link in more shared libraries than system limit</CODE>
+ Cannot exec a shared library directly
+ <br><br> <DT><CODE>ELIBMAX</CODE>
<DD>
+ Attempting to link in more shared libraries than system limit
<br><br> <DT><CODE>ELIBSCN</CODE>
<DD>
<CODE>.lib</CODE> section in a.out corrupted
- <br><br> <DT><CODE>EMFILE
- Too many open files</CODE>
+ <br><br> <DT><CODE>EMFILE</CODE>
<DD>
- <br><br> <DT><CODE>EMLINK
- Too many links</CODE>
+ Too many open files
+ <br><br> <DT><CODE>EMLINK</CODE>
<DD>
- <br><br> <DT><CODE>EMSGSIZE
- Message too long</CODE>
+ Too many links
+ <br><br> <DT><CODE>EMSGSIZE</CODE>
<DD>
- <br><br> <DT><CODE>EMULTIHOP
- Multihop attempted</CODE>
+ Message too long
+ <br><br> <DT><CODE>EMULTIHOP</CODE>
<DD>
- <br><br> <DT><CODE>ENAMETOOLONG
- File or path name too long</CODE>
+ Multihop attempted
+ <br><br> <DT><CODE>ENAMETOOLONG</CODE>
<DD>
- <br><br> <DT><CODE>ENETDOWN
- Network interface not configured</CODE>
+ File or path name too long
+ <br><br> <DT><CODE>ENETDOWN</CODE>
<DD>
- <br><br> <DT><CODE>ENETUNREACH
- Network is unreachable</CODE>
+ Network interface not configured
+ <br><br> <DT><CODE>ENETUNREACH</CODE>
<DD>
- <br><br> <DT><CODE>ENFILE
- Too many open files in system</CODE>
+ Network is unreachable
+ <br><br> <DT><CODE>ENFILE</CODE>
<DD>
- <br><br> <DT><CODE>ENODEV
- No such device</CODE>
+ Too many open files in system
+ <br><br> <DT><CODE>ENODEV</CODE>
<DD>
- <br><br> <DT><CODE>ENOENT
- No such file or directory</CODE>
+ No such device
+ <br><br> <DT><CODE>ENOENT</CODE>
<DD>
- <br><br> <DT><CODE>ENOEXEC
- Exec format error</CODE>
+ No such file or directory
+ <br><br> <DT><CODE>ENOEXEC</CODE>
<DD>
- <br><br> <DT><CODE>ENOLCK
- No lock</CODE>
+ Exec format error
+ <br><br> <DT><CODE>ENOLCK</CODE>
<DD>
- <br><br> <DT><CODE>ENOLINK
- Virtual circuit is gone</CODE>
+ No lock
+ <br><br> <DT><CODE>ENOLINK</CODE>
<DD>
- <br><br> <DT><CODE>ENOMEM
- Not enough space</CODE>
+ Virtual circuit is gone
+ <br><br> <DT><CODE>ENOMEM</CODE>
<DD>
- <br><br> <DT><CODE>ENOMSG
- No message of desired type</CODE>
+ Not enough space
+ <br><br> <DT><CODE>ENOMSG</CODE>
<DD>
- <br><br> <DT><CODE>ENONET
- Machine is not on the network</CODE>
+ No message of desired type
+ <br><br> <DT><CODE>ENONET</CODE>
<DD>
- <br><br> <DT><CODE>ENOPKG
- No package</CODE>
+ Machine is not on the network
+ <br><br> <DT><CODE>ENOPKG</CODE>
<DD>
- <br><br> <DT><CODE>ENOPROTOOPT
- Protocol not available</CODE>
+ No package
+ <br><br> <DT><CODE>ENOPROTOOPT</CODE>
<DD>
- <br><br> <DT><CODE>ENOSPC
- No space left on device</CODE>
+ Protocol not available
+ <br><br> <DT><CODE>ENOSPC</CODE>
<DD>
- <br><br> <DT><CODE>ENOSR
- No stream resources</CODE>
+ No space left on device
+ <br><br> <DT><CODE>ENOSR</CODE>
<DD>
- <br><br> <DT><CODE>ENOSTR
- Not a stream</CODE>
+ No stream resources
+ <br><br> <DT><CODE>ENOSTR</CODE>
<DD>
- <br><br> <DT><CODE>ENOSYS
- Function not implemented</CODE>
+ Not a stream
+ <br><br> <DT><CODE>ENOSYS</CODE>
<DD>
- <br><br> <DT><CODE>ENOTBLK
- Block device required</CODE>
+ Function not implemented
+ <br><br> <DT><CODE>ENOTBLK</CODE>
<DD>
- <br><br> <DT><CODE>ENOTCONN
- Socket is not connected</CODE>
+ Block device required
+ <br><br> <DT><CODE>ENOTCONN</CODE>
<DD>
- <br><br> <DT><CODE>ENOTDIR
- Not a directory</CODE>
+ Socket is not connected
+ <br><br> <DT><CODE>ENOTDIR</CODE>
<DD>
- <br><br> <DT><CODE>ENOTEMPTY
- Directory not empty</CODE>
+ Not a directory
+ <br><br> <DT><CODE>ENOTEMPTY</CODE>
<DD>
- <br><br> <DT><CODE>ENOTSOCK
- Socket operation on non-socket</CODE>
+ Directory not empty
+ <br><br> <DT><CODE>ENOTSOCK</CODE>
<DD>
- <br><br> <DT><CODE>ENOTSUP
- Not supported</CODE>
+ Socket operation on non-socket
+ <br><br> <DT><CODE>ENOTSUP</CODE>
<DD>
- <br><br> <DT><CODE>ENOTTY
- Not a character device</CODE>
+ Not supported
+ <br><br> <DT><CODE>ENOTTY</CODE>
<DD>
- <br><br> <DT><CODE>ENXIO
- No such device or address</CODE>
+ Not a character device
+ <br><br> <DT><CODE>ENXIO</CODE>
<DD>
- <br><br> <DT><CODE>EPERM
- Not owner</CODE>
+ No such device or address
+ <br><br> <DT><CODE>EPERM</CODE>
<DD>
- <br><br> <DT><CODE>EPIPE
- Broken pipe</CODE>
+ Not owner
+ <br><br> <DT><CODE>EPIPE</CODE>
<DD>
- <br><br> <DT><CODE>EPROTO
- Protocol error</CODE>
+ Broken pipe
+ <br><br> <DT><CODE>EPROTO</CODE>
<DD>
- <br><br> <DT><CODE>EPROTOTYPE
- Protocol wrong type for socket</CODE>
+ Protocol error
+ <br><br> <DT><CODE>EPROTOTYPE</CODE>
<DD>
- <br><br> <DT><CODE>EPROTONOSUPPORT
- Unknown protocol</CODE>
+ Protocol wrong type for socket
+ <br><br> <DT><CODE>EPROTONOSUPPORT</CODE>
<DD>
- <br><br> <DT><CODE>ERANGE
- Result too large</CODE>
+ Unknown protocol
+ <br><br> <DT><CODE>ERANGE</CODE>
<DD>
- <br><br> <DT><CODE>EREMOTE
- Resource is remote</CODE>
+ Result too large
+ <br><br> <DT><CODE>EREMOTE</CODE>
<DD>
- <br><br> <DT><CODE>EROFS
- Read-only file system</CODE>
+ Resource is remote
+ <br><br> <DT><CODE>EROFS</CODE>
<DD>
+ Read-only file system
<br><br> <DT><CODE>ESHUTDOWN</CODE>
<DD>
Can't send after socket shutdown
- <br><br> <DT><CODE>ESOCKTNOSUPPORT
- Socket type not supported</CODE>
+ <br><br> <DT><CODE>ESOCKTNOSUPPORT</CODE>
<DD>
- <br><br> <DT><CODE>ESPIPE
- Illegal seek</CODE>
+ Socket type not supported
+ <br><br> <DT><CODE>ESPIPE</CODE>
<DD>
- <br><br> <DT><CODE>ESRCH
- No such process</CODE>
+ Illegal seek
+ <br><br> <DT><CODE>ESRCH</CODE>
<DD>
- <br><br> <DT><CODE>ESRMNT
- Srmount error</CODE>
+ No such process
+ <br><br> <DT><CODE>ESRMNT</CODE>
<DD>
- <br><br> <DT><CODE>ETIME
- Stream ioctl timeout</CODE>
+ Srmount error
+ <br><br> <DT><CODE>ETIME</CODE>
<DD>
- <br><br> <DT><CODE>ETIMEDOUT
- Connection timed out</CODE>
+ Stream ioctl timeout
+ <br><br> <DT><CODE>ETIMEDOUT</CODE>
<DD>
- <br><br> <DT><CODE>ETXTBSY
- Text file busy</CODE>
+ Connection timed out
+ <br><br> <DT><CODE>ETXTBSY</CODE>
<DD>
- <br><br> <DT><CODE>EXDEV
- Cross-device link</CODE>
+ Text file busy
+ <br><br> <DT><CODE>EXDEV</CODE>
<DD>
- <br><br> <DT><CODE>ECANCELED
- Operation canceled</CODE>
+ Cross-device link
+ <br><br> <DT><CODE>ECANCELED</CODE>
<DD>
- <br><br> <DT><CODE>ENOTRECOVERABLE
- State not recoverable</CODE>
+ Operation canceled
+ <br><br> <DT><CODE>ENOTRECOVERABLE</CODE>
<DD>
- <br><br> <DT><CODE>EOWNERDEAD
- Previous owner died</CODE>
+ State not recoverable
+ <br><br> <DT><CODE>EOWNERDEAD</CODE>
<DD>
+ Previous owner died
<br><br> </DL>
<br><br> <br><br> *
<h3>Returns</h3>
</function>
</construct>
<construct id="function-strrchr" type="function">
- <function returntype="char * ">
+ <function returntype="char *">
<prototype>
<parameter content="const char *string"/>
<parameter content="int c"/>
<function returntype="char *">
<prototype>
<parameter content="char *source"/>
- <parameter content="const char *delimiters"/>
- <parameter content=" char **lasts"/>
+ <parameter content="const char *delimiters,char **lasts"/>
</prototype>
<headers>
<header filename = "string.h"/>
</synopsis>
</construct>
<construct id="function-signal" type="function">
- <function returntype="null">
+ <function returntype="void (*)(int)">
<prototype>
+ <parameter content="int sig"/>
+ <parameter content="void(*func)(int)"/>
</prototype>
+ <headers>
+ <header filename = "signal.h"/>
+ </headers>
<groupsynopsis id="group-signal"/>
</function>
</construct>
<construct id="function-_signal_r" type="function">
- <function returntype="null">
+ <function returntype="void (*)(int)">
<prototype>
+ <parameter content="void *reent"/>
+ <parameter content="int sig"/>
+ <parameter content="void(*func)(int)"/>
</prototype>
+ <headers>
+ <header filename = "signal.h"/>
+ </headers>
<groupsynopsis id="group-signal"/>
</function>
</construct>
<function returntype="size_t ">
<prototype>
<parameter content="char *s"/>
- <parameter content="size_t maxsize"/>
- <parameter content=" const char *format"/>
+ <parameter content="size_t maxsize,const char *format"/>
<parameter content="const struct tm *timp"/>
</prototype>
<headers>
<construct id="function-_setlocale_r" type="function">
<function returntype="char *">
<prototype>
- <parameter content="void *reent"/>
- <parameter content=" int category"/>
+ <parameter content="void *reent,int category"/>
<parameter content="const char *locale"/>
</prototype>
<headers>
<DD>
The type of mathematical error that occured; macros encoding error
types are also defined in `<CODE>math.h</CODE>'.
- <br><br> <DT><CODE>name
- a pointer to a null-terminated string holding the</CODE>
+ <br><br> <DT><CODE>name</CODE>
<DD>
+ a pointer to a null-terminated string holding the
name of the math library function where the error occurred.
- <br><br> <LI> arg1, arg2
+ <br><br> <DT><CODE>arg1, arg2</CODE>
+<DD>
The arguments which caused the error.
<br><br> <DT><CODE>retval</CODE>
<DD>
<br><br> <DT><CODE>err</CODE>
<DD>
If set to be non-zero, this is the new value assigned to <CODE>errno</CODE>.
- </DL>
+
+</DL>
<br><br> <br><br> The error types defined in `<CODE>math.h</CODE>' represent possible mathematical
errors as follows:
<br><br> <DL>
</function>
</construct>
<construct id="function-va_arg" type="function">
- <function returntype="null">
+ <function returntype="type">
<prototype>
+ <parameter content="va_list ap"/>
+ <parameter content="type"/>
</prototype>
+ <headers>
+ <header filename = "stdarg.h"/>
+ </headers>
<synopsis>
<CODE>va_arg</CODE> returns the next unprocessed value from a variable
argument list <VAR>ap</VAR> (which you must previously create with
</function>
</construct>
<construct id="function-va_arg" type="function">
- <function returntype="null">
+ <function returntype="type">
<prototype>
+ <parameter content="va_list ap"/>
+ <parameter content="type"/>
</prototype>
+ <headers>
+ <header filename = "varargs.h"/>
+ </headers>
<synopsis>
<CODE>va_arg</CODE> returns the next unprocessed value from a variable
argument list <VAR>ap</VAR> (which you must previously create with