D Programming Language
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 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

FILE* stdin;

FILE* stdout;

FILE* stderr;

nothrow @nogc @system int remove(in char* filename);

nothrow @nogc @system int rename(in char* from, in 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(in char* filename, in char* mode);

nothrow @nogc @system FILE* freopen(in char* filename, in char* mode, FILE* stream);

nothrow @nogc @system void setbuf(FILE* stream, char* buf);

nothrow @nogc @system int setvbuf(FILE* stream, char* buf, int mode, size_t size);

nothrow @nogc @system int fprintf(FILE* stream, in char* format, ...);

nothrow @nogc @system int fscanf(FILE* stream, in char* format, ...);

nothrow @nogc @system int sprintf(char* s, in char* format, ...);

nothrow @nogc @system int sscanf(in char* s, in char* format, ...);

nothrow @nogc @system int vfprintf(FILE* stream, in char* format, va_list arg);

nothrow @nogc @system int vfscanf(FILE* stream, in char* format, va_list arg);

nothrow @nogc @system int vsprintf(char* s, in char* format, va_list arg);

nothrow @nogc @system int vsscanf(in char* s, in char* format, va_list arg);

nothrow @nogc @system int vprintf(in char* format, va_list arg);

nothrow @nogc @system int vscanf(in char* format, va_list arg);

nothrow @nogc @system int printf(in char* format, ...);

nothrow @nogc @system int scanf(in char* format, ...);

nothrow @nogc @trusted int fgetc(FILE* stream);

nothrow @nogc @trusted int fputc(int c, FILE* stream);

nothrow @nogc @system char* fgets(char* s, int n, FILE* stream);

nothrow @nogc @system int fputs(in char* s, FILE* stream);

nothrow @nogc @system char* gets(char* s);

nothrow @nogc @system int puts(in char* s);

nothrow @nogc @trusted int getchar();

nothrow @nogc @trusted int putchar(int c);

nothrow @nogc @trusted int getc(FILE* stream);

nothrow @nogc @trusted int putc(int c, FILE* stream);

nothrow @nogc @trusted int ungetc(int c, FILE* stream);

nothrow @nogc @system size_t fread(void* ptr, size_t size, size_t nmemb, FILE* stream);

nothrow @nogc @system size_t fwrite(in void* ptr, size_t size, size_t nmemb, FILE* stream);

nothrow @nogc @trusted int fgetpos(FILE* stream, fpos_t* pos);

nothrow @nogc @trusted int fsetpos(FILE* stream, in fpos_t* pos);

nothrow @nogc @trusted int fseek(FILE* stream, c_long offset, int whence);

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(char* s, size_t n, in char* format, ...);

nothrow @nogc @system int vsnprintf(char* s, size_t n, in char* format, va_list arg);

nothrow @nogc @system void perror(in char* s);

Copyright Sean Kelly 2005 - 2009. | Page generated by Ddoc on Tue Nov 3 22:00:38 2015