]> git.ipfire.org Git - thirdparty/man-pages.git/commit
open.2, prctl.2: SYNOPSIS: Document these as variadic functions
authorAlejandro Colomar <alx@kernel.org>
Fri, 19 May 2023 13:02:16 +0000 (15:02 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 20 May 2023 10:04:12 +0000 (12:04 +0200)
commit12ff884e9ef392a5eb36a3f7a3c81a4185de5c16
tree8ab4c90854e4be5879125516e53eea2f9afc9fe7
parent7fd1e0f2be216a5e7f7aef0d03304bdf81bca9e0
open.2, prctl.2: SYNOPSIS: Document these as variadic functions

I remember I discussed this with Michael Kerrisk a long ago and we
agreed to apply this fix, as I felt that using overload syntax was
confusing (especially since C doesn't allow overloads), but then I
didn't feel urged to write a patch.  Florian confirmed recently that
this is confusing to more programmers, so let's do it.

Link: <https://bugzilla.kernel.org/show_bug.cgi?id=216876#c1>
Reported-by: Florian Weimer <fweimer@redhat.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man2/open.2
man2/prctl.2