Return to test-recallocarray.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
File: [cvsweb.bsd.lv] / mandoc / test-recallocarray.c (download)
Revision 1.1, Mon Jun 12 19:05:47 2017 UTC (7 years, 3 months ago) by schwarze
Implement automatic line breaking inside individual table cells that contain text blocks. This cures overlong lines in various Xenocara manuals. |
#include <stdlib.h> int main(void) { void *p; if ((p = calloc(2, 2)) == NULL) return 1; return !recallocarray(p, 2, 3, 2); }