Lines Matching refs:errno
6 #include <errno.h>
53 errno = 0;
55 if (errno != 0)
56 t_error("%s: gmtime((time_t)%lld) should not set errno, got %s\n",
57 m, (long long)t, strerror(errno));
58 errno = 0;
60 if (errno != 0)
61 t_error("%s: mktime(%s) should not set errno, got %s\n",
62 m, tm_str(*tm), strerror(errno));
74 errno = 0;
79 if (overflow && errno != EOVERFLOW)
81 m, tm_str(*tm), strerror(EOVERFLOW), strerror(errno));
85 if (!overflow && errno)
87 m, tm_str(*tm), strerror(errno));