Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 1997 03:30:01 -0700 (PDT)
From:      Peter Dufault <dufault@hda.com>
To:        freebsd-bugs
Subject:   Re: docs/3313: manpage bug in scsi(8) (cmd args are hex)
Message-ID:  <199704171030.DAA24192@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/3313; it has been noted by GNATS.

From: Peter Dufault <dufault@hda.com>
To: oliver.fromme@heim3.tu-clausthal.de
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/3313: manpage bug in scsi(8) (cmd args are hex)
Date: Thu, 17 Apr 1997 06:08:40 -0400 (EDT)

 > The scsi(8) manpage fails to mention that arguments to
 > -c commands are specified in hexadecimal.  The "examples"
 > section in that manpage also seems to use decimal values,
 > which is wrong.
 
 The arguments are parsed using strtol with a base of zero and so
 can be decimal (default) or hex (leading 0x).  The confusing part
 is that the numbers INSIDE a format string are hex unconditionally
 to make it easy to copy commands from the spec.
 
 Peter
 
 -- 
 Peter Dufault (dufault@hda.com)   Realtime Machine Control and Simulation
 HD Associates, Inc.               Voice: 508 433 6936



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704171030.DAA24192>