0.2.0 Preview 1 · Frozen documentation
SeekOrigin
Selects the reference position for a signed byte displacement. Cases are semantic identities, not target flag bits. Operations translate at the selected private platform boundary; this enum retains no resources.
Sn is under heavy development. Reference extracted from this release’s bundled standard library. Public API examples are not an exhaustive compatibility test. Read the matching release guide for tested workflows and limitations. Read the status →
Module std.fs
import std.fs;Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.
SeekOrigin
pub enum SeekOriginSelects the reference position for a signed byte displacement. Cases are semantic identities, not target flag bits. Operations translate at the selected private platform boundary; this enum retains no resources.
SeekOrigin.Start
Start;Absolute beginning of file.
SeekOrigin.Current
Current;Current descriptor position.
SeekOrigin.End
End;Current end of file.
Documentation snapshot: October 24, 2026 About versions ↗