Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 6: Foreign Types 32<br />
(path :string)<br />
(flags open-flags)<br />
(mode :uint16)) ; unportable<br />
<strong>CFFI</strong>> (unix-open "/tmp/foo" ’(:wronly :creat) #o644)<br />
⇒ #<br />
;;; Consider also the following lispier wrapper around open()<br />
(defun lispier-open (path mode &rest flags)<br />
(unix-open path flags mode))<br />
See Also<br />
[foreign-bitfield-value], page 41<br />
[foreign-bitfield-symbols], page 40