Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 16 Oct 2019 23:28:38 +0200
From: Petr Vorel <petr.vorel@...il.com>
To: Rich Felker <dalias@...ifal.cx>
Cc: musl@...ts.openwall.com
Subject: loff_t definition in <fcntl.h> (vs. glibc in <sys/types.h>)

Hi Rich,

what is the reason for loff_t being defined in <fcntl.h> ?
It was defined some time ago, in v0.9.5.

glibc (and thus uclibc; + also Bionic) has it in <sys/types.h>, defined long
time before.  Who is correct? I guess loff_t not being posix, therefore it
shouldn't be in <sys/types.h> ?

I'm asking because it'd be nice to have it for both in single header
(portability).

Kind regards,
Petr

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.