Searched refs:apothegm (Results 1 - 1 of 1) sorted by relevance

/freebsd-12-stable/lib/libc/tests/stdio/
H A Dgetdelim_test.c40 char apothegm[] = "All work and no play\0 makes Jack a dull boy.\n"; variable
44 * hard time. It reads through the string `apothegm' and returns a
56 if (len > sizeof(apothegm) - *offp)
57 len = sizeof(apothegm) - *offp;
58 memcpy(buf, apothegm + *offp, len);
92 /* First line: the full apothegm */
93 ATF_REQUIRE(getline(&line, &linecap, fp) == sizeof(apothegm) - 1);
94 ATF_REQUIRE(memcmp(line, apothegm, sizeof(apothegm)) == 0);
95 ATF_REQUIRE(linecap >= sizeof(apothegm));
[all...]

Completed in 46 milliseconds