| author | |
| committer | |
| log | d788181a3b96ec653f5bef42916a8129837cdac4 |
| tree | 47741f676c0bfbb85e2b87bf4b0470778e22667f |
| parent | 06b2fee05eeb4280fd4363a8a8da73f59f977b73 |
| signature |
Co-authored-by: Maciej Walczak <14938807+xackus@users.noreply.github.com>1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/os/linux.zig+1-1| ... | ... | @@ -504,7 +504,7 @@ pub fn pwrite(fd: i32, buf: [*]const u8, count: usize, offset: u64) usize { |
| 504 | 504 | ); |
| 505 | 505 | } |
| 506 | 506 | } else { |
| 507 | // Some architectures (eg. 64bit SPARC) pwrite is called pread64. | |
| 507 | // Some architectures (eg. 64bit SPARC) pwrite is called pwrite64. | |
| 508 | 508 | const S = if (!@hasField(SYS, "pwrite") and @hasField(SYS, "pwrite64")) .pwrite64 else .pwrite; |
| 509 | 509 | return syscall4( |
| 510 | 510 | S, |