From owner-freebsd-current@freebsd.org Fri May 14 08:10:58 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE85663CDA6 for ; Fri, 14 May 2021 08:10:58 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FhLnZ3qxjz4qtZ for ; Fri, 14 May 2021 08:10:58 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: by mailman.nyi.freebsd.org (Postfix) id 81E3863CB9C; Fri, 14 May 2021 08:10:58 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 81B0E63C94C for ; Fri, 14 May 2021 08:10:58 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4FhLnZ2YQTz4qj1 for ; Fri, 14 May 2021 08:10:57 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (v-critter.freebsd.dk [192.168.55.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by phk.freebsd.dk (Postfix) with ESMTPS id F04DB89290; Fri, 14 May 2021 08:10:55 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.16.1/8.16.1) with ESMTPS id 14E8AtHh018382 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 14 May 2021 08:10:55 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.16.1/8.16.1/Submit) id 14E8AtkL018381; Fri, 14 May 2021 08:10:55 GMT (envelope-from phk) To: jake h cc: "Rodney W. Grimes" , current@freebsd.org Subject: Re: HEADSUP: i2c(8) has been washed and ironed In-reply-to: From: "Poul-Henning Kamp" References: <6070.1620907795@critter.freebsd.dk> <202105131913.14DJDCZa077839@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18379.1620979855.1@critter.freebsd.dk> Date: Fri, 14 May 2021 08:10:55 +0000 Message-ID: <18380.1620979855@critter.freebsd.dk> X-Rspamd-Queue-Id: 4FhLnZ2YQTz4qj1 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 May 2021 08:10:58 -0000 -------- jake h writes: > > What about adding a new flag to enable strtoul behavior? > I have had a look at the available flag options for a potential strtoul > flag, and a flag that makes sense to me is [-s] / [--strtoul]. [-s] is not > currently being used in i2c, if we wanted to use it. -s is already used to select "scan" mode. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.