Skip to content

Commit

Permalink
std.stdio: Fix DDoc syntax in thrown exception documentation
Browse files Browse the repository at this point in the history
Introduced in 402af9d
  • Loading branch information
CyberShadow committed Dec 29, 2013
1 parent 8c570a0 commit 35a3448
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions std/stdio.d
Expand Up @@ -533,7 +533,7 @@ _clearerr) for the file handle.
Calls $(WEB cplusplus.com/reference/clibrary/cstdio/_fflush.html, _fflush)
for the file handle.
Throws: $(D Exception) if the file is not opened or if the call to $D(fflush) fails.
Throws: $(D Exception) if the file is not opened or if the call to $(D fflush) fails.
*/
void flush()
{
Expand All @@ -554,7 +554,7 @@ This will be shorter than $(D buffer) if EOF was reached before the buffer
could be filled.
Throws: $(D Exception) if $(D buffer) is empty.
$(D ErrnoException) if the file is not opened or the call to $D(fread) fails.
$(D ErrnoException) if the file is not opened or the call to $(D fread) fails.
$(D rawRead) always reads in binary mode on Windows.
*/
Expand Down Expand Up @@ -607,7 +607,7 @@ error is thrown if the buffer could not be written in its entirety.
$(D rawWrite) always writes in binary mode on Windows.
Throws: $(D ErrnoException) if the file is not opened or if the call to $D(fread) fails.
Throws: $(D ErrnoException) if the file is not opened or if the call to $(D fwrite) fails.
*/
void rawWrite(T)(in T[] buffer)
{
Expand Down Expand Up @@ -656,7 +656,7 @@ Calls $(WEB cplusplus.com/reference/clibrary/cstdio/fseek.html, fseek)
for the file handle.
Throws: $(D Exception) if the file is not opened.
$(D ErrnoException) if the call to $D(fseek) fails.
$(D ErrnoException) if the call to $(D fseek) fails.
*/
void seek(long offset, int origin = SEEK_SET)
{
Expand Down Expand Up @@ -712,7 +712,7 @@ Calls $(WEB cplusplus.com/reference/clibrary/cstdio/ftell.html, ftell) for the
managed file handle.
Throws: $(D Exception) if the file is not opened.
$(D ErrnoException) if the call to $D(ftell) fails.
$(D ErrnoException) if the call to $(D ftell) fails.
*/
@property ulong tell() const
{
Expand Down Expand Up @@ -765,7 +765,7 @@ Calls $(WEB cplusplus.com/reference/clibrary/cstdio/_setvbuf.html, _setvbuf) for
the file handle.
Throws: $(D Exception) if the file is not opened.
$(D ErrnoException) if the call to $D(setvbuf) fails.
$(D ErrnoException) if the call to $(D setvbuf) fails.
*/
void setvbuf(size_t size, int mode = _IOFBF)
{
Expand All @@ -781,7 +781,7 @@ Calls $(WEB cplusplus.com/reference/clibrary/cstdio/_setvbuf.html,
_setvbuf) for the file handle.
Throws: $(D Exception) if the file is not opened.
$(D ErrnoException) if the call to $D(setvbuf) fails.
$(D ErrnoException) if the call to $(D setvbuf) fails.
*/
void setvbuf(void[] buf, int mode = _IOFBF)
{
Expand Down

0 comments on commit 35a3448

Please sign in to comment.