Indicates if a specified file descriptor is associated with a pipe.
#include <unixio.h> int isapipe (int file_desc);
| 1 | Indicates an association with a pipe. |
| 0 | Indicates no association with a pipe. |
| -1 | Indicates an error (for example, if the file descriptor is not associated with an open file). |