O_WRONLY|O_CREAT # possible rewrite of an existing file O_WRONLY|O_CREAT|O_EXCL # only create new file (fails if file exists)