From nobody Mon Jan 27 07:27:32 2025 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YhKkX5fJHz5mPD8 for ; Mon, 27 Jan 2025 07:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YhKkX4zvBz3RtC for ; Mon, 27 Jan 2025 07:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737962852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pl4ztC/i5GgA4og6rJ+rNpv+TvWBZmDbu+WfDx9qNgE=; b=rP1x3j+S91rrZUBbuDxv2HKy1UXRYCshxx6+VxwY5JKWj6xm52sDF57j2XUiNaqL0nekdH o8XIGPbwwqZglagvU+lkd3+IQtDFI3gBd5fAZ4TpqiewPNFiYI0bXhNG/tnRvF/J5QdpqR bwQmdslYnq5GaMU5LiFBB8ptShoIBUbvbQZBUQbC9ASYYQIY4XXiIYl9oHsMWszwvq0EZq dIfCxGaorHnqzoZlGlKb5SCxkuLYy7GC+YWF38krf3TQgKIboPNG0SXnslNr7aCVbb6zVD My8rW6vgyfHzeUESkhwpKPG/XrtA8iRbZyHcNjk5t+sumIyDXZ0vF/UwQ1ryZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737962852; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pl4ztC/i5GgA4og6rJ+rNpv+TvWBZmDbu+WfDx9qNgE=; b=kMKTi/Z0+tz9xLVYY2N7vjBepFczSmj2sNv0Yb8O4jPjlO02sLAnzii96mPd5HNBjO3EpC 96MEGpVcCUUUxB3WbqQJt+VSBiOs+XNL/f6jknkZBQ6za1KwTo0DMOX59Ii/4qh2tuk7B7 gpAyQLWckT28+Cn3t+A14HrYFBfwJPK9P7lANrGt0zwK4t4d0kpDMDtuZIlSbRyj2Mrrl1 E7UWM+oZlhOcbnFfQI1dFV95agC6RDcffi/pfEaBQHsu6uXBbGo0Nzv9iXdM22bW7SSQ7E by2Er8Yx4biCUkOZTMJd3+2zwHmZPmYHk6emfPgm/4qZ0MC9WlP0BXTpe1iM7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737962852; a=rsa-sha256; cv=none; b=FAGpXUv4BA/LX5+TwTmi5DVxnwjW1RJXKyK8+5GRRtFhSXYRsow6ib9ZRpPYScbY0WN48U 8oTElZ1FVrcBRuMmKs3N8Bumqnu8bShg0R4UbQTaEDFZyN9Z0cYUTbL74DboY0evYMKZEC j2oYAkww4N/hAgVcbwCRXgyjwPCjpoFnVRybMBNsfYC8HsN9umuF5Y9Zx63lM6IJuyhunZ hNDKHTSkvUxolpJzq6We1vvvKtwrU03tSl42eXBLVWPnfVRWgoJEJZuq/HeG/sq/DC2OOW zosfTCHZsHlBkWRSm/vGmFJ+wrF5+/pmUcfOKfIQFjOKc1KqPtccA22AG6MvgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YhKkX4VJRz3Vq for ; Mon, 27 Jan 2025 07:27:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50R7RWeG011161 for ; Mon, 27 Jan 2025 07:27:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50R7RWBP011160 for doc@FreeBSD.org; Mon, 27 Jan 2025 07:27:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 284353] [patch] Remind about additional mode_t argument for open(2). Date: Mon, 27 Jan 2025 07:27:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284353 --- Comment #3 from Konstantin Belousov --- 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.=