You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
204 lines
4.4 KiB
Groff
204 lines
4.4 KiB
Groff
.TH "stdio.h" 3 "24 Jun 2019" "Version 2.0.0" "avr-libc" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
stdio.h \-
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.SS "Defines"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "#define \fBstdin\fP (__iob[0])"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBstdout\fP (__iob[1])"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBstderr\fP (__iob[2])"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBEOF\fP (-1)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBfdev_set_udata\fP(stream, u) do { (stream)->udata = u; } while(0)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBfdev_get_udata\fP(stream) ((stream)->udata)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBfdev_setup_stream\fP(stream, put, get, rwflag)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fB_FDEV_SETUP_READ\fP __SRD"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fB_FDEV_SETUP_WRITE\fP __SWR"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fB_FDEV_SETUP_RW\fP (__SRD|__SWR)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fB_FDEV_ERR\fP (-1)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fB_FDEV_EOF\fP (-2)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBFDEV_SETUP_STREAM\fP(put, get, rwflag)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBfdev_close\fP()"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBputc\fP(__c, __stream) fputc(__c, __stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBputchar\fP(__c) fputc(__c, stdout)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBgetc\fP(__stream) fgetc(__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "#define \fBgetchar\fP() fgetc(stdin)"
|
|
.br
|
|
.in -1c
|
|
.SS "Typedefs"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "typedef struct __file \fBFILE\fP"
|
|
.br
|
|
.in -1c
|
|
.SS "Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "int \fBfclose\fP (\fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvfprintf\fP (\fBFILE\fP *__stream, const char *__fmt, va_list __ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvfprintf_P\fP (\fBFILE\fP *__stream, const char *__fmt, va_list __ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfputc\fP (int __c, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBprintf\fP (const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBprintf_P\fP (const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvprintf\fP (const char *__fmt, va_list __ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBsprintf\fP (char *__s, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBsprintf_P\fP (char *__s, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBsnprintf\fP (char *__s, size_t __n, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBsnprintf_P\fP (char *__s, size_t __n, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvsprintf\fP (char *__s, const char *__fmt, va_list ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvsprintf_P\fP (char *__s, const char *__fmt, va_list ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvsnprintf\fP (char *__s, size_t __n, const char *__fmt, va_list ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvsnprintf_P\fP (char *__s, size_t __n, const char *__fmt, va_list ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfprintf\fP (\fBFILE\fP *__stream, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfprintf_P\fP (\fBFILE\fP *__stream, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfputs\fP (const char *__str, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfputs_P\fP (const char *__str, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBputs\fP (const char *__str)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBputs_P\fP (const char *__str)"
|
|
.br
|
|
.ti -1c
|
|
.RI "size_t \fBfwrite\fP (const void *__ptr, size_t __size, size_t __nmemb, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfgetc\fP (\fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBungetc\fP (int __c, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "char * \fBfgets\fP (char *__str, int __size, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "char * \fBgets\fP (char *__str)"
|
|
.br
|
|
.ti -1c
|
|
.RI "size_t \fBfread\fP (void *__ptr, size_t __size, size_t __nmemb, \fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "void \fBclearerr\fP (\fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfeof\fP (\fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBferror\fP (\fBFILE\fP *__stream)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvfscanf\fP (\fBFILE\fP *__stream, const char *__fmt, va_list __ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvfscanf_P\fP (\fBFILE\fP *__stream, const char *__fmt, va_list __ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfscanf\fP (\fBFILE\fP *__stream, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfscanf_P\fP (\fBFILE\fP *__stream, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBscanf\fP (const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBscanf_P\fP (const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBvscanf\fP (const char *__fmt, va_list __ap)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBsscanf\fP (const char *__buf, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBsscanf_P\fP (const char *__buf, const char *__fmt,...)"
|
|
.br
|
|
.ti -1c
|
|
.RI "int \fBfflush\fP (\fBFILE\fP *stream)"
|
|
.br
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for avr-libc from the source code.
|