[musl] Re: [libc-coord] Re: regression in man pages for interfaces using loff_t

Paul Eggert eggert@cs.ucla.edu
Mon Jul 3 21:35:39 GMT 2023


On 2023-07-03 11:16, Jakub Wilk wrote:
>> -This format is employed in cases where only a single
>> -feature test macro can be used to expose the function
>> -declaration, and that macro is not defined by default.
>> +This format is employed in cases where feature macros
>> +expose the function declaration with the correct type,
>> +and these macros are not defined by default.
> 
> This isn't right. The shorthand format is sometimes used when there's no 
> off(64)_t involved, e.g. in memfd_create(2).

Fair enough. Let's improve that wording to:

This format is employed when the feature test macros ensure that the 
proper function declarations are visible, and the macros are not defined 
by default.

Revised patch attached. If this wording is still not clear enough, 
please feel free to suggest better wording.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-off64_t-prefer-off_t-for-splice-etc.patch
Type: text/x-patch
Size: 8707 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20230703/3e6102b4/attachment-0001.bin>


More information about the Libc-alpha mailing list