in reply to Why does fpathconf give "bad file descriptor"?
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";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Why does fpathconf give "bad file descriptor"?
by madscientist (Novice) on Mar 31, 2010 at 19:34 UTC | |
by ikegami (Patriarch) on Mar 31, 2010 at 20:01 UTC | |
by ReturnOfThelonious (Beadle) on Mar 31, 2010 at 20:57 UTC | |
by ikegami (Patriarch) on Mar 31, 2010 at 22:05 UTC | |
by madscientist (Novice) on Apr 01, 2010 at 01:56 UTC |