[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
easy to miss bug (even in structured debug)
- To: <michael>
- Subject: easy to miss bug (even in structured debug)
- From: Mark S. Miller <mark>
- Date: Tue, 5 Dec 89 22:17:18 PST
- Cc: <tribble>, <roland>, <xtech>
- In-reply-to: <Michael>,42 PST <8912052159.AA05222@xanadu>
Date: Tue, 5 Dec 89 13:59:42 PST
From: michael (Michael McClary)
> 3) Any function parameter that may be passed a NULL be declared with
> NULL as its default value. This is intuitively sensible as NULL can
> then be read as indicating the lack of an argument in that position.
Can this be done in a middle argument?
No. So far I haven't needed to do it in a middle argument. If we do,
using an explicit comment in both declaration and definition is good.