# std: Prefer 64bit libc functions where possible · gitcafe/zig

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

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

Visibility: public

Requested revision: a909db6aea38f65ffe996d61a62a4f1bd2cbc44c

Requested commit: a909db6aea38f65ffe996d61a62a4f1bd2cbc44c

Commit: a909db6aea38f65ffe996d61a62a4f1bd2cbc44c

Tree: a6893a890c42ffbdfc5da44c2632b67e65130eed

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Prefer 64bit libc functions where possible

While musl decided to hard-wire off_t to a 64bit quantity, glibc is much
older and defaults to 32bit offsets and offers some -64 suffixed
versions of I/O functions.

There's a weird mix-up of types: sometimes off_t is used, sometimes not,
sometimes it's defined as a signed quantity and sometimes as an unsigned
one, but we'll sort this problem later.

```

## Parents

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

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