view lib/xstrtoimax.c @ 40189:3ba41edecde6

progreloc: Speed up executable lookup on various platforms. * lib/progreloc.c: Include <errno.h>. (safe_read, full_read): New functions. (find_executable): On GNU/kFreeBSD, FreeBSD, DragonFly, NetBSD, Solaris, prefer the information from the /proc file system to a PATH search.
author Bruno Haible <bruno@clisp.org>
date Tue, 19 Feb 2019 21:42:54 +0100
parents 8d41d3f68c28
children
line wrap: on
line source

#define __strtol strtoimax
#define __strtol_t intmax_t
#define __xstrtol xstrtoimax
#define STRTOL_T_MINIMUM INTMAX_MIN
#define STRTOL_T_MAXIMUM INTMAX_MAX
#include "xstrtol.c"