5 /* Check that we get a proper error indication if trying ftruncate on a
6 fd that is a pipe descriptor. */
22 if (ftruncate (pip
[0], 20) == 0 || errno
!= EINVAL
)
24 perror ("ftruncate 1");
30 if (ftruncate (pip
[1], 20) == 0 || errno
!= EINVAL
)
32 perror ("ftruncate 2");