G
grid
Hi,
I need some clarifications on how the comma operator is used to return
values from function like macros.I saw a typical implementation as :
#define sigfillset(ptr) ( *(ptr) &= ~(sigset_t)0 , 0 )
How is the 0 after the comma operator used to return 0 on success of the
macro function ?
TIA
I need some clarifications on how the comma operator is used to return
values from function like macros.I saw a typical implementation as :
#define sigfillset(ptr) ( *(ptr) &= ~(sigset_t)0 , 0 )
How is the 0 after the comma operator used to return 0 on success of the
macro function ?
TIA