diff options
author | Érico Nogueira <ericonr@disroot.org> | 2021-12-17 04:59:43 -0300 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-01-09 00:31:05 -0500 |
commit | cbacd638e32a02edbe66c48ae3d1361bc06a492a (patch) | |
tree | 1e0d049e95224632933380293d7fcdddedb9fe69 /src/unistd/dup.c | |
parent | c4d4028dde90562f631edf559fbc42d8ec1b29de (diff) | |
download | musl-cbacd638e32a02edbe66c48ae3d1361bc06a492a.tar.gz musl-cbacd638e32a02edbe66c48ae3d1361bc06a492a.tar.xz musl-cbacd638e32a02edbe66c48ae3d1361bc06a492a.zip |
add SEEK_DATA and SEEK_HOLE to unistd.h
these are linux specific constants. glibc exposes them behind _GNU_SOURCE, but, since SEEK_* is reserved for the implementation, we can simply define them. furthermore, since they can't be used with fseek() and other functions that deal with FILE, we don't add them to stdio.h.
Diffstat (limited to 'src/unistd/dup.c')
0 files changed, 0 insertions, 0 deletions