• R
    provide loff_t for splice syscall · c4ea0e3f
    Rich Felker 提交于
    so far, this is the only actual use of loff_t i've found. some
    software, including glib, assumes loff_t must exist if splice exists;
    this is a reasonable assumption since the official prototype for
    splice uses loff_t, as it always works with 64-bit offsets regardless
    of the selected libc off_t size. i'm using #define for now rather than
    a typedef to make it easy to define in other headers if necessary
    (like the LFS64 ugliness), but it may be necessary to add it to
    alltypes.h eventually if other functions end up needing it.
    c4ea0e3f
fcntl.h 2.6 KB