Mail Archives: djgpp-workers/2000/12/27/02:09:04
At 11:37 AM 12/17/00 +0100, Martin Str|mberg wrote:
>According to Peter J. Farley III:
>> Well, in this case we already had a POSIX function, fcntl, calling
a
>> non-ANSI function, filelength, which is why I would then presume
that
>> the #define for filelength was *already* in stubs.h. Since fcntl
>> will now be calling lfilelength, doesn't the same rationale apply
for
>> the location of a define for lfilelength?
>
>Please verify that llseek() is there too. (I suspect not.)
It is not. llseek is only defined in the non-POSIX section of
include/unistd.h, and nowhere else.
Should llseek be following the example of filelength, being defined as
__llseek and having a "#define llseek __llseek" in
include/libc/stubs.h? Or what, keeping in mind that my new fcntl is
the first libc function to internally use llseek, and that fcntl is
POSIX?
---------------------------------------------------------
Peter J. Farley III (pjfarley AT dorsai DOT org OR
pjfarley AT banet DOT net)
- Raw text -