Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



On Tue, Oct 21, 2003 at 09:46:26AM +0100, David Laight wrote:
> I don't believe that is valid portable C.

I don't have the standard around, but the comp.lang.c FAQ says it's fine:
http://www.eskimo.com/~scs/C-faq/q5.6.html

> What about the comparison of function pointers?

Comparing them to NULL? That still works...
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym%azeotrope.org@localhost |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 27 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++



Home | Main Index | Thread Index | Old Index