From what I see in POSIX.xs, the conversion of a Perl file handle to a file descriptor is not done for you.$sz = fpathconf(fileno($wd), _PC_PIPE_BUF) or die "fpathconf(pipe): $!\n";
In reply to Re: Why does fpathconf give "bad file descriptor"?
by ReturnOfThelonious
in thread Why does fpathconf give "bad file descriptor"?
by madscientist
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |