in reply to Linux device filehandle roadblock

You need a numeric equivalent to O_RDONLY, from the <sys/fcntl.h>, which has the value 0 on my sytem.

Replies are listed 'Best First'.
Re^2: Linux device filehandle roadblock
by Fletch (Bishop) on Jun 11, 2004 at 18:17 UTC

    Or you could do the correct thing and use the value provided by Fcntl and be right on anybody's system.

Re^2: Linux device filehandle roadblock
by happi (Initiate) on Jun 15, 2004 at 19:40 UTC
    Thanks, I'll investigate this.. :)