Saturday, December 23, 2023

Macro SLIST_INIT is a block not a statement.

In header file <sys/queue.h>, macro SLIST_INIT is a block with one
assignment statement while other _INIT macros are a "do { ... } while(0)"
statement.

No comments:

Post a Comment