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

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

1.1     ! schwarze    1: #include <stdlib.h>
        !             2:
        !             3: int
        !             4: main(void)
        !             5: {
        !             6:        void    *p;
        !             7:
        !             8:        if ((p = calloc(2, 2)) == NULL)
        !             9:                return 1;
        !            10:        return !recallocarray(p, 2, 3, 2);
        !            11: }

CVSweb