NetBSD Problem Report #59227
From www@netbsd.org Thu Mar 27 19:03:46 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id D90FD1A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 27 Mar 2025 19:03:46 +0000 (UTC)
Message-Id: <20250327190345.8D5D01A923D@mollari.NetBSD.org>
Date: Thu, 27 Mar 2025 19:03:45 +0000 (UTC)
From: thorpej@me.com
Reply-To: thorpej@me.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD lacks getopt_long_only(3)
X-Send-Pr-Version: www-1.0
>Number: 59227
>Category: lib
>Synopsis: NetBSD lacks getopt_long_only(3)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Mar 27 19:05:00 +0000 2025
>Originator: Jason Thorpe
>Release: NetBSD 10.1
>Organization:
RISCy Business
>Environment:
(Does not matter.)
>Description:
NetBSD has getopt_long(3), but not getopt_long_only(3). A description of getopt_long_only(3) can be found here:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-getopt-long-only-3.html
>How-To-Repeat:
See above.
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.