From owner-freebsd-doc@FreeBSD.ORG Mon Jun 23 03:00:15 2008 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28B301065670 for ; Mon, 23 Jun 2008 03:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F19628FC26 for ; Mon, 23 Jun 2008 03:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5N30EQZ037411 for ; Mon, 23 Jun 2008 03:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5N30EjE037410; Mon, 23 Jun 2008 03:00:14 GMT (envelope-from gnats) Date: Mon, 23 Jun 2008 03:00:14 GMT Message-Id: <200806230300.m5N30EjE037410@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Diane Bruce Cc: Subject: Re: docs/124894: Spelling mistake in strlen(3) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Diane Bruce List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2008 03:00:15 -0000 The following reply was made to PR docs/124894; it has been noted by GNATS. From: Diane Bruce To: Sam Banks Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: docs/124894: Spelling mistake in strlen(3) Date: Sun, 22 Jun 2008 22:41:23 -0400 On Mon, Jun 23, 2008 at 02:27:58AM +0000, Sam Banks wrote: > > >Number: 124894 ... > >Description: > NULL is spelled NUL inside strlen(3). That is correct. NULL is syntactic sugar for 0 in c, a NULL pointer; i.e. a pointer pointing to NULL. However, NUL is the ASCII char nul, it is not NULL. > terminating > -.Dv NUL > +.Dv NULL NULL is not a character, NUL is. -- - db@FreeBSD.org db@db.net http://www.db.net/~db