> On Jul 31, 2015, at 3:24 AM, Ed Schouten <e...@nuxi.nl> wrote: > > Hi John-Mark, > > Maybe it would make more sense to just remove this manual page? > > It looks like there are already some pieces of code in our source tree > that use _Static_assert(), which is good. Maybe it would be better to > to leave CTASSERT() undocumented, so that it becomes less likely that > new code uses this interface.
sys/deffs.h defines it, if needed, so maybe that’s wise. Generally, foo(9) is relegated to the kernel. Only in cases where it can be used in user land should it be mentioned, rather than the converse. There’s maybe a dozen out of a hundred man pages that should get the note. We shouldn’t remove the man page. If the project decides to stop using it, we should note it as deprecated instead of leaving it undocumented. Warner
signature.asc
Description: Message signed with OpenPGP using GPGMail