src/test/sysdep/linux/posix-fileutil.c
static int fail_close(int fd)
{
    /* Actually close the FD so we don't leak it. */
    trampoline_close(fd);
    errno = EIO;
    return -1;
}
/**
 * fail_close:  close() replacement which injects an EIO error.
 */
close() replacement which injects an EIO error.
close () replacement which injects an EIO error .
static int fail_close(int fd)
{
    trampoline_close(fd);
    errno = EIO;
    return -1;
}
static int fail_close ( int fd ) { trampoline_close ( fd ) ; errno = EIO ; return -1 ; }
fail_close:  close() replacement which injects an EIO error.
fail_close : close () replacement which injects an EIO error .
/* Actually close the FD so we don't leak it. */