View source code Display the source code in core/stdc/stdio.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Module core.stdc.stdio

D header file for C99.

This module contains bindings to selected types and functions from the standard C header <stdio.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.

Standards

ISO/IEC 9899:1999 (E)

Functions

Name Description
clearerr
fclose
feof
ferror
fflush
fgetc
fgetpos
fgets
fileno
fopen
fprintf
fputc
fputs
fread
freopen
fscanf
fseek
fsetpos
ftell
fwrite
getc
getchar
gets
perror
printf
putc
putchar
puts
remove
rename
rewind
scanf
setbuf
setvbuf
snprintf
sprintf
sscanf
tmpfile
tmpnam
ungetc
vfprintf
vfscanf
vprintf
vscanf
vsnprintf
vsprintf
vsscanf

Structs

Name Description
fpos_t
_IO_FILE

Enum values

Name Type Description
BUFSIZ
EOF
FILENAME_MAX
FOPEN_MAX
L_tmpnam
SEEK_CUR
SEEK_END
SEEK_SET
TMP_MAX
_F_BIN
_F_BUF
_F_EOF
_F_ERR
_F_IN
_F_LBUF
_F_OUT
_F_RDWR
_F_READ
_F_TERM
_F_WRIT
_IOFBF
_IOLBF
_IONBF

Global variables

Name Type Description
stderr shared(_IO_FILE*)
stdin shared(_IO_FILE*)
stdout shared(_IO_FILE*)

Aliases

Name Type Description
FILE shared(_IO_FILE)
_iobuf _IO_FILE

Authors

Sean Kelly, Alex Rønne Petersen

License

Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)

Comments