Next: pipe
, Previous: pclose
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
perror
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/perror.html
Gnulib module: perror
Portability problems fixed by Gnulib:
errno
of 0 like failure, although POSIX
requires that the message declare it as a success, on some platforms:
FreeBSD 8.2, OpenBSD 4.7, macOS 14.
strerror
buffer on some platforms:
Cygwin 1.7.9, Android 11.
Portability problems not fixed by Gnulib:
ferror
) on write failure, but not all platforms do this:
glibc 2.13, cygwin 1.7.9.