# std: Harmonize use of off_t between libc and Zig impls · gitcafe/zig

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

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

Visibility: public

Requested revision: 31f1cc9a0d80e87efb1f414352ff9d6abf2067ca

Requested commit: 31f1cc9a0d80e87efb1f414352ff9d6abf2067ca

Commit: 31f1cc9a0d80e87efb1f414352ff9d6abf2067ca

Tree: 71f721104facaeaf79d4c53b365ea855099a1b18

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Harmonize use of off_t between libc and Zig impls

Let's follow the libc/kernel convention and use an i64 for offsets, we
bitcast as needed and avoid the useless conditional casts.

```

## Parents

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

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