Expand description
stdio.h implementation.
See https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdio.h.html.
Re-exports§
pub use crate::header::bits_fcntl::SEEK_CUR;pub use crate::header::bits_fcntl::SEEK_END;pub use crate::header::bits_fcntl::SEEK_SET;
Modules§
Structs§
- FILE
- This struct gets exposed to the C API.
- Global
File - Lock
Guard
Constants§
- BUFSIZ
- EOF
- FILENAME_
MAX - F_APP
- F_BADJ
- F_EOF
- F_ERR
- F_NORD
- F_NOWR
- F_PERM
- F_SVB
- L_
ctermid - L_
tmpnam - P_
tmpdir - cbindgen:ignore
- RENAME_
NOREPLACE - Rename but don’t replace the target if it exists.
- TMP_MAX
- UNGET
- _IOFBF
- _IOLBF
- _IONBF
Statics§
Traits§
Functions§
- __
fpurge ⚠ - See https://www.man7.org/linux/man-pages/man3/fpurge.3.html.
- asprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html.
- clearerr⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/clearerr.html.
- ctermid⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ctermid.html.
- cuserid⚠
Deprecated - See https://pubs.opengroup.org/onlinepubs/7908799/xsh/cuserid.html
- default_
stderr - default_
stdin - default_
stdout - dprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/dprintf.html.
- fclose⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fclose.html.
- fdopen⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fdopen.html.
- feof⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/feof.html.
- ferror⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ferror.html.
- fflush⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fflush.html.
- fgetc⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgetc.html.
- fgetpos⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgetpos.html.
- fgets⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fgets.html.
- fileno⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fileno.html.
- flockfile⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/flockfile.html.
- flush_
io_ ⚠streams - fopen⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fopen.html.
- fprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html.
- fputc⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fputc.html.
- fputs⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fputs.html.
- fread⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fread.html.
- freopen⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/freopen.html.
- fscanf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fscanf.html.
- fseek⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fseek.html.
- fseek_
locked ⚠ - fseeko⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fseek.html.
- fsetpos⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fsetpos.html.
- ftell⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ftell.html.
- ftell_
locked ⚠ - ftello⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ftell.html.
- ftrylockfile⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/flockfile.html.
- funlockfile⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/flockfile.html.
- fwrite⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fwrite.html.
- getc⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc.html.
- getc_
unlocked ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc_unlocked.html.
- getchar⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getchar.html.
- getchar_
unlocked ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc_unlocked.html.
- getdelim⚠
- https://pubs.opengroup.org/onlinepubs/9799919799/functions/getline.html
- getline⚠
- see getdelim (getline is a special case of getdelim with delim == ‘\n’)
- gets⚠
Deprecated - See https://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html.
- getw⚠
Deprecated - See https://pubs.opengroup.org/onlinepubs/7908799/xsh/getw.html.
- pclose⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/pclose.html.
- perror⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/perror.html.
- popen⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/popen.html.
- printf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html.
- putc⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/putc.html.
- putc_
unlocked ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc_unlocked.html.
- putchar⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/putchar.html.
- putchar_
unlocked ⚠ - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/getc_unlocked.html.
- puts⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/puts.html.
- putw⚠
Deprecated - See https://pubs.opengroup.org/onlinepubs/7908799/xsh/putw.html.
- remove⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/remove.html.
- rename⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/rename.html.
- renameat⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/renameat.html.
- renameat2⚠
- See https://www.man7.org/linux/man-pages/man2/rename.2.html.
- rewind⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/rewind.html.
- scanf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fscanf.html.
- setbuf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setbuf.html.
- setlinebuf⚠
- See https://www.man7.org/linux/man-pages/man3/setlinebuf.3.html.
- setvbuf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/setvbuf.html.
- snprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html.
- sprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fprintf.html.
- sscanf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/fscanf.html.
- tempnam⚠
Deprecated - See https://pubs.opengroup.org/onlinepubs/009604599/functions/tempnam.html.
- tmpfile⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tmpfile.html.
- tmpnam⚠
Deprecated - See https://pubs.opengroup.org/onlinepubs/9799919799/functions/tmpnam.html.
- ungetc⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/ungetc.html.
- vasprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html.
- vdprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vdprintf.html.
- vfprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html.
- vfscanf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfscanf.html.
- vprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html.
- vscanf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfscanf.html.
- vsnprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html.
- vsprintf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfprintf.html.
- vsscanf⚠
- See https://pubs.opengroup.org/onlinepubs/9799919799/functions/vfscanf.html.