]> gitweb.factorcode.org Git - factor.git/blob - basis/io/files/unique/unix/unix.factor
basis: removing unnecessary method stack effects.
[factor.git] / basis / io / files / unique / unix / unix.factor
1 ! Copyright (C) 2008 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: io.backend.unix io.files.unique.private literals system
4 unix unix.ffi ;
5 IN: io.files.unique.unix
6
7 CONSTANT: open-unique-flags flags{ O_RDWR O_CREAT O_EXCL }
8
9 M: unix (touch-unique-file)
10     open-unique-flags file-mode open-file close-file ;