Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2025 07:27:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 284353] [patch] Remind about additional mode_t argument for open(2).
Message-ID:  <bug-284353-9-TCLZ16sHkO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284353-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284353-9@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284353

--- Comment #3 from Konstantin Belousov <kib@FreeBSD.org> ---
The current form of the function prototype, with ellipses, is better then t=
he
fixed-args call prototype because typical arch has different ABI for vararg
vs. fixed args.  Since the system header provides the vararg prototype, cur=
rent
man page synopsis is the right thing to do.

We can try to add additional specific invocation example for O_CREAT, but my
feeling is that it is best to be done in the suggested dedicated paragraph =
for
the flag.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284353-9-TCLZ16sHkO>