| author | |
| committer | |
| log | 57390999894a74f289a6eace6deed6c17b65f298 |
| tree | 88fafbcbc30d4429fe885cd24230a7312cb6b70c |
| parent | 9e070b653c89a9216f9dd9f78ed7c78c11460ac7 |
To aid people searching autodocs.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/fs/file.zig+1-1| ... | ... | @@ -243,7 +243,7 @@ pub const File = struct { |
| 243 | 243 | |
| 244 | 244 | pub const SetEndPosError = os.TruncateError; |
| 245 | 245 | |
| 246 | /// Shrinks or expands the file. | |
| 246 | /// Shrinks (truncates) or expands the file. | |
| 247 | 247 | /// The file offset after this call is left unchanged. |
| 248 | 248 | pub fn setEndPos(self: File, length: u64) SetEndPosError!void { |
| 249 | 249 | try os.ftruncate(self.handle, length); |