[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-man
Subject: Re: "..." in stdarg manual
From: "Michael Kerrisk (man-opages)" <mtk.manpages () gmail ! com>
Date: 2019-04-12 14:27:15
Message-ID: 5b344e37-68b6-ecd0-dd5f-cb0668f9593f () gmail ! com
[Download RAW message or body]
Hello Egmont,
On 4/3/19 9:51 AM, Egmont Koblinger wrote:
> Hi,
>
> The manpage of stdarg / va_stuff contains five occurrences of the string "...".
>
> At the first four it's the standard way of denoting that the user
> (developer) has to fill in the missing bits. At the fifth occurrence
> it needs to remain there as-is.
>
> May I recommend to clarify it, e.g. like this:
>
> void
> foo(char *fmt, ... /* three literal dots */)
I see what you mean. I instead added the comment:
/* '...' is C syntax for a variadic function */
Thanks for the report!
Cheers,
Michael
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic