Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 19:06:51 +0100
From:      Ben Smithurst <ben@FreeBSD.org>
To:        "DINKEY,GENE (HP-Loveland,ex1)" <gene_dinkey@hp.com>
Cc:        mhjoshi@att.net, questions@FreeBSD.org
Subject:   Re: Unix questions
Message-ID:  <20000717190651.O84045@strontium.scientia.demon.co.uk>
In-Reply-To: <F341E03C8ED6D311805E00902761278C5313F9@xfc04.fc.hp.com>
References:  <F341E03C8ED6D311805E00902761278C5313F9@xfc04.fc.hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--QN0KHc3254GHvltB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

DINKEY,GENE (HP-Loveland,ex1) wrote:

> Just received a correction, /dev/null returns the charecter \0 not 0.

No, /dev/null returns *NOTHING*.  You read it, you get EOF.

> /dev/zero will return zero.

/dev/zero returns a stream of zero bytes, that is '\0'.

--=20
Ben Smithurst                 / ben@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /

--QN0KHc3254GHvltB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: Mw7ZKzZbf8UBNIfEyN3gSo/02OGwVia7

iQCUAwUBOXNLOisPVtiZOS99AQEnCgP2KRZwPfNjTNBGtLyyQdmbozOszLe2sm+0
zDrtX60Cnb5OoIJOf2dkY1GrV4vm1l5NNDdTJ2UihN/v2F0iuYK61fGRgTDXDeNx
b0sczcf+UNwscsGCO4Vhk61Tu1jzfJUJQEtPMYFSq1nbGYKTX/tShbFHt8SROSTx
k9cISH//JA==
=9R3Z
-----END PGP SIGNATURE-----

--QN0KHc3254GHvltB--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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