Making a gpg library

Pete Chown Pete.Chown at skygate.co.uk
Thu Oct 26 12:24:30 CEST 2000


David Champion wrote:

> It's also conceivable that some "innovative" vendor would come by with
> an alternate path for a fd filesystem -- say, /dev/fds/*.  That would
> certainly confuse matters on that platform.

Linux uses /proc/self/fd/*.

I thought about two alternatives.  One would be to extend the current
"-" for standard input so that:

-   is standard input
-0  is standard input as well
-5  is fd 5

and so on.  But I think this is a bit counterintuitive, so I think my
personal preference would be for the --input-fd option.

-- 
Pete



More information about the Gnupg-devel mailing list