(C) 1998 AROS - The Amiga Research OS
This is the same as open (pathname, O_CREAT|O_WRONLY|O_TRUNC, mode);