jbra...@dismail.de, le dim. 10 août 2025 21:10:37 -0400, a ecrit:
> And throw in a reference to __COLD.

It is not useful to document, it's not really part of the prototype that
is visible to callers.

(the other error-reporting functions would probably better have __COLD
too actually, so the reader would wonder why only one has and not the
other, etc. and that discussion really doesn't belong here)

Samuel

> +     extern int _hurd_fd_error_signal (error_t err) __COLD;
> +
> +Check if ERR should generate a signal. Returns the signal to take, or
> +zero if none.  The `__COLD` attribute tells gccc that this function
> +will rarely be used.

Reply via email to