[ntp:questions] Unresolved Symbol

Harlan Stenn stenn at ntp.org
Wed Aug 22 02:25:21 UTC 2007

>>> In article <fafnqq$2db2$1 at hedeland.org>, per at hedeland.org (Per Hedeland) writes:

>> if ((pOpts->pzCurOpt != NULL) && (*pOpts->pzCurOpt != NUL))

Per> However I do think the use of NUL is unwise, having a plain '\0' there
Per> instead would avoid an initial potentially confusing
Per> misreading/misunderstanding (not incidentally, it is only the libopt
Per> code that uses NUL, the "proper" ntp code uses '\0' everywhere).

I think this is a personal preference thing.

I wrote tons of code using NUL for '\0' (the former is MUCH easier for me to
type as I have carpal tunnel problems) and I also used NIL instead of
NULL, as I find that much easier to read.


More information about the questions mailing list