Here are the posix “open” system calls declaration:
int open(const char *pathname, int flags);
int open(const char *pathname, int flags, mode_t mode);

But system/posix/file/open(0,0) strategy only accept the name. It would be nice to be able to use the real posix system call, specially when you want to open a file without write rights.

Submitted on 1 November 2005 at 14:09

On 9 January 2013 at 16:56 Eelco Visser removed tag 0.19M1

On 9 January 2013 at 16:56 Eelco Visser tagged interesting

Log in to post comments