Lines Matching refs:strerror
1 # strerror.m4 serial 17
17 AC_CACHE_CHECK([for working strerror function],
23 [[if (!*strerror (-2)) return 1;]])],
37 dnl The system's strerror() fails to return a string for out-of-range
43 dnl If the system's strerror_r or __xpg_strerror_r clobbers strerror's
44 dnl buffer, we must replace strerror.
50 dnl The system's strerror() cannot know about the new errno values we add
51 dnl to <errno.h>, or any fix for strerror(0). Replace it.
56 dnl Detect if strerror(0) passes (that is, does not set errno, and does not
57 dnl return a string that matches strerror(-1)).
62 AC_CACHE_CHECK([whether strerror(0) succeeds],
72 str = strerror (0);
92 AC_DEFINE([REPLACE_STRERROR_0], [1], [Define to 1 if strerror(0)