[Bug 284353] [patch] Remind about additional mode_t argument for open(2).

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Jan 2025 07:27:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284353

--- Comment #3 from Konstantin Belousov <kib@FreeBSD.org> ---
The current form of the function prototype, with ellipses, is better then the
fixed-args call prototype because typical arch has different ABI for vararg
vs. fixed args.  Since the system header provides the vararg prototype, current
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.