On Mon, Feb 12, 2001 at 06:14:50PM -0800, H. Peter Anvin wrote:
> Actually, it's 256. This is used to close all file descriptors; anyone
> know of a better way to do this?
readdir /proc/self/fd?
Actually, lookup_program only uses OPEN_MAX as the arg to select(). You just need
to pass it the greater of pipefd or epipefd (+1).
J
