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

Annotation of mandoc/test-sandbox_init.c, Revision 1.1

1.1     ! kristaps    1: #include <sandbox.h>
        !             2:
        !             3: int
        !             4: main(void)
        !             5: {
        !             6:        char    *ep;
        !             7:        int      rc;
        !             8:
        !             9:        rc = sandbox_init(kSBXProfileNoInternet, SANDBOX_NAMED, &ep);
        !            10:        if (-1 == rc)
        !            11:                sandbox_free_error(ep);
        !            12:        return(-1 == rc);
        !            13: }

CVSweb