[PATCH v4 4/4] posix: Add _Fork [BZ #4737]
Adhemerval Zanella
adhemerval.zanella@linaro.org
Mon Jun 28 18:10:12 GMT 2021
On 28/06/2021 05:52, Florian Weimer wrote:
> * Adhemerval Zanella:
>
>> For returns_twice we have __attribute_returns_twice__, but I think we might
>> want to add it on multiple symbols (not only on _Fork). So I haven't it added
>> for now.
>
> I was wondering if gcc knows about these functions. It does actually
> for fork, but it uses that only for gcov as far as I can see.
Good question. In any case, I think we would be good to add the
__attribute_returns_twice__ regardless of compiler natively supports the
symbol semantic.
>
>> Below it is an updated patch based on your comments, is this one ok to
>> commit?
>
> This patch looks reasonable to me.
Thanks, I will commit it shortly.
More information about the Libc-alpha
mailing list