Lines Matching refs:fstat
240 if (fstat(fd, &st1) < 0) {
241 printf("%d: fstat() before fseeko() failed\n\n", __LINE__);
256 if (fstat(fd, &st2) < 0) {
257 printf("%d: fstat() after fseeko() failed\n\n", __LINE__);
318 } else if (fstat(fileno(fp), &st1) < 0) {
319 printf("%d: fstat() before fseeko() failed\n\n", __LINE__);
325 printf("%d: fstat st_size %zd ftello %zd\n", __LINE__,
337 } else if (fstat(fileno(fp), &st1) < 0) {
338 printf("%d: fstat() before fgetc() failed\n\n", __LINE__);
347 printf("%d: fstat st_size %zd ftello %zd\n", __LINE__,