view modules/perror @ 40179:6823a10c9418

Add script for determining the set of symbols to export from a library. * build-aux/declared.sh: New file, from GNU libunistring. * doc/lib-symbol-visibility.texi (Exported Symbols of Shared Libraries): Mention it.
author Bruno Haible <bruno@clisp.org>
date Sun, 03 Feb 2019 21:44:16 +0100
parents eaa30c92de91
children
line wrap: on
line source

Description:
perror() function: print a message describing error code.

Files:
lib/perror.c
m4/perror.m4

Depends-on:
stdio
errno            [test $REPLACE_PERROR = 1]
strerror-override [test $REPLACE_PERROR = 1]
strerror_r-posix [test $REPLACE_PERROR = 1]

configure.ac:
gl_FUNC_PERROR
if test $REPLACE_PERROR = 1; then
  AC_LIBOBJ([perror])
fi
gl_STRING_MODULE_INDICATOR([perror])

Makefile.am:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
all