I want to know whether __attribute__((nonnull)) is standard in C or compiler specific. If it's compiler specific then, is there any alternative to do same with standard C?
I am trying to prevent static analyzer's possible null pointer dereference warning, but I don't want to make my code compiler dependent.