mirror of
https://github.com/dlang/phobos.git
synced 2025-05-12 15:17:12 +03:00
Mark std.stdio.File.seek as @trusted
This commit is contained in:
parent
0bfc7b283c
commit
f6eb0ad97f
1 changed files with 1 additions and 1 deletions
|
@ -791,7 +791,7 @@ for the file handle.
|
||||||
Throws: $(D Exception) if the file is not opened.
|
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)
|
void seek(long offset, int origin = SEEK_SET) @trusted
|
||||||
{
|
{
|
||||||
import std.exception : enforce, errnoEnforce;
|
import std.exception : enforce, errnoEnforce;
|
||||||
import std.conv : to, text;
|
import std.conv : to, text;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue