# macho: use pread syscall when loading tapi file · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f1af53f68ec629ca091452aeeeb2f7f7596e63b7)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f1af53f68ec629ca091452aeeeb2f7f7596e63b7

Requested commit: f1af53f68ec629ca091452aeeeb2f7f7596e63b7

Commit: f1af53f68ec629ca091452aeeeb2f7f7596e63b7

Tree: daf6ffa68ea9aeb1b98738b1fe3e9008d176e320

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: use pread syscall when loading tapi file

This avoids mixing preads with reads which do not mix well especially
on Windows.

```

## Parents

- [7c37c55161b718ff3df0b6c76480a4d538519a84](https://git.cafe/gitcafe/zig/commit/7c37c55161b718ff3df0b6c76480a4d538519a84?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f1af53f68ec629ca091452aeeeb2f7f7596e63b7?format=markdown)
