"#define _BSD_SOURCE""/*or:#define_SVID_SOURCE*/ "#include<time.h>
"int dysize(int "year);
(year) %4 == 0 && ((year) %100 != 0 || (year) %400 == 0)
The formula is defined in the macro __isleap(year) also found in <time.h>.