[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: JFYI Lua 5.2 OSx 10.4
- From: "Liam Devine" <liamdevine@...>
- Date: Mon, 28 Apr 2014 18:50:22 +0100
On 28/04/14 18:10, Roberto Ierusalimschy wrote:
>
>> On 28/04/14 16:44, Roberto Ierusalimschy wrote:
>>>
>>>
>>> (Sorry for the delay.) How can stdio.h not define 'off_t' but define
>>> 'fseeko', which uses 'off_t' in its prototype?
>>>
>>> -- Roberto
>>>
>>
>> Not in 10.4 it would seem [1]
>> int fseeko(FILE *, fpos_t, int);
>>
>> [1] http://www.opensource.apple.com/source/Libc/Libc-391/include/stdio.h
>
> So, 10.4 is not POSIX :-(
>
> -- Roberto
>
I would not like to say for certain. OSX is, after all, based on BSD and
the BSD implementation does use off_t in an old C style function
definition[1].
[1]
http://www.opensource.apple.com/source/Libc/Libc-391/stdio/FreeBSD/fseek.c
--
Liam
Attachment:
signature.asc
Description: OpenPGP digital signature