view lib/isapipe.h @ 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 09d34e7dc0d8
children
line wrap: on
line source

/* Whether pipes are FIFOs; -1 if not known.  */
#ifndef HAVE_FIFO_PIPES
# define HAVE_FIFO_PIPES (-1)
#endif

int isapipe (int fd);