From owner-freebsd-hackers Wed Feb 12 18:11:01 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA11522 for hackers-outgoing; Wed, 12 Feb 1997 18:11:01 -0800 (PST) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id SAA11517 for ; Wed, 12 Feb 1997 18:10:56 -0800 (PST) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id TAA01285; Wed, 12 Feb 1997 19:04:08 -0700 From: Terry Lambert Message-Id: <199702130204.TAA01285@phaeton.artisoft.com> Subject: Re: strlen() question To: asami@vader.cs.berkeley.edu (Satoshi Asami) Date: Wed, 12 Feb 1997 19:04:08 -0700 (MST) Cc: terry@lambert.org, danny@panda.hilink.com.au, hackers@freebsd.org In-Reply-To: <199702130137.RAA16421@vader.cs.berkeley.edu> from "Satoshi Asami" at Feb 12, 97 05:37:05 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > * PS: You are required to pass only NULL terminated strings to strlen(); > > That's "NUL". Heh. You and Sean. "NULL" is an untyped 0. Actually, it's a 0 terminated string. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.