What is the “official" way to pledge(2) a portable program? Put #ifdef __OpenBSD__ around the pledge call?
Make an #ifndef __OpenBSD__ block that defined the function to always return 0? Something better?
What is the “official" way to pledge(2) a portable program? Put #ifdef __OpenBSD__ around the pledge call?
Make an #ifndef __OpenBSD__ block that defined the function to always return 0? Something better?