Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
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
a local clone.
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.
License:
Distributed under the
Boost Software License 1.0.
(See accompanying file LICENSE)
Authors:
Sean Kelly,
Alex Rønne Petersen
Source: core/stdc/stdio.d
Standards:
ISO/IEC 9899:1999 (E)
BUFSIZ
EOF
FOPEN_MAX
FILENAME_MAX
TMP_MAX
L_tmpnam
SEEK_SET
- Offset is relative to the beginning
SEEK_CUR
- Offset is relative to the current position
SEEK_END
- Offset is relative to the end
- struct
fpos_t
; - struct
_IO_FILE
; - alias
_iobuf
= _IO_FILE; - alias
FILE
= _IO_FILE; _F_RDWR
_F_READ
_F_WRIT
_F_BUF
_F_LBUF
_F_ERR
_F_EOF
_F_BIN
_F_IN
_F_OUT
_F_TERM
_IOFBF
_IOLBF
_IONBF
- shared FILE*
stdin
; - shared FILE*
stdout
; - shared FILE*
stderr
; - nothrow @nogc @system int
remove
(scope const char*filename
); - nothrow @nogc @system int
rename
(scope const char*from
, scope const char*to
); - nothrow @nogc @trusted FILE*
tmpfile
(); - nothrow @nogc @system char*
tmpnam
(char*s
); - nothrow @nogc @system int
fclose
(FILE*stream
); - nothrow @nogc @trusted int
fflush
(FILE*stream
); - nothrow @nogc @system FILE*
fopen
(scope const char*filename
, scope const char*mode
); - nothrow @nogc @system FILE*
freopen
(scope const char*filename
, scope const char*mode
, FILE*stream
); - nothrow @nogc @system void
setbuf
(FILE*stream
, char*buf
); - nothrow @nogc @system int
setvbuf
(FILE*stream
, char*buf
, intmode
, size_tsize
); - nothrow @nogc @system int
fprintf
(FILE*stream
, scope const char*format
, ...); - nothrow @nogc @system int
fscanf
(FILE*stream
, scope const char*format
, ...); - nothrow @nogc @system int
sprintf
(scope char*s
, scope const char*format
, ...); - nothrow @nogc @system int
sscanf
(scope const char*s
, scope const char*format
, ...); - nothrow @nogc @system int
vfprintf
(FILE*stream
, scope const char*format
, va_listarg
); - nothrow @nogc @system int
vfscanf
(FILE*stream
, scope const char*format
, va_listarg
); - nothrow @nogc @system int
vsprintf
(scope char*s
, scope const char*format
, va_listarg
); - nothrow @nogc @system int
vsscanf
(scope const char*s
, scope const char*format
, va_listarg
); - nothrow @nogc @system int
vprintf
(scope const char*format
, va_listarg
); - nothrow @nogc @system int
vscanf
(scope const char*format
, va_listarg
); - nothrow @nogc @system int
printf
(scope const char*format
, ...); - nothrow @nogc @system int
scanf
(scope const char*format
, ...); - nothrow @nogc @trusted int
fgetc
(FILE*stream
); - nothrow @nogc @trusted int
fputc
(intc
, FILE*stream
); - nothrow @nogc @system char*
fgets
(char*s
, intn
, FILE*stream
); - nothrow @nogc @system int
fputs
(scope const char*s
, FILE*stream
); - nothrow @nogc @system char*
gets
(char*s
); - nothrow @nogc @system int
puts
(scope const char*s
); - nothrow @nogc @trusted int
getchar
(); - nothrow @nogc @trusted int
putchar
(intc
); - nothrow @nogc @trusted int
getc
(FILE*stream
); - nothrow @nogc @trusted int
putc
(intc
, FILE*stream
); - nothrow @nogc @trusted int
ungetc
(intc
, FILE*stream
); - nothrow @nogc @system size_t
fread
(scope void*ptr
, size_tsize
, size_tnmemb
, FILE*stream
); - nothrow @nogc @system size_t
fwrite
(scope const void*ptr
, size_tsize
, size_tnmemb
, FILE*stream
); - nothrow @nogc @trusted int
fgetpos
(FILE*stream
, scope fpos_t*pos
); - nothrow @nogc @trusted int
fsetpos
(FILE*stream
, scope const fpos_t*pos
); - nothrow @nogc @trusted int
fseek
(FILE*stream
, c_longoffset
, intwhence
); - nothrow @nogc @trusted c_long
ftell
(FILE*stream
); - nothrow @nogc @trusted void
rewind
(FILE*stream
); - pure nothrow @nogc @trusted void
clearerr
(FILE*stream
); - pure nothrow @nogc @trusted int
feof
(FILE*stream
); - pure nothrow @nogc @trusted int
ferror
(FILE*stream
); - nothrow @nogc @trusted int
fileno
(FILE*); - nothrow @nogc @system int
snprintf
(scope char*s
, size_tn
, scope const char*format
, ...); - nothrow @nogc @system int
vsnprintf
(scope char*s
, size_tn
, scope const char*format
, va_listarg
); - nothrow @nogc @system void
perror
(scope const char*s
);
Copyright © 1999-2017 by the D Language Foundation | Page generated by
Ddoc on Wed Jul 19 16:13:57 2017