[BACK]Return to test-pledge.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

File: [cvsweb.bsd.lv] / mandoc / test-pledge.c (download)

Revision 1.1, Fri Nov 6 17:33:34 2015 UTC (5 years, 2 months ago) by schwarze
Branch: MAIN
CVS Tags: VERSION_1_14_5, VERSION_1_14_4, VERSION_1_14_3, VERSION_1_14_2, VERSION_1_14_1, VERSION_1_13_4, VERSION_1_13, HEAD

merge pledge(2) support from OpenBSD

#include <unistd.h>

int
main(void)
{
	return !!pledge("stdio", NULL);
}