lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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