db4
Slava Pestov 2008-05-13 14:41:24 -05:00
parent 7a97697dfa
commit e96cb08a77
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ TUPLE: linux-monitor < monitor wd inotify watches ;
: wd>monitor ( wd -- monitor ) watches get at ;
: <inotify> ( -- port/f )
inotify_init dup 0 < [ drop f ] [ <reader> ] if ;
inotify_init dup 0 < [ drop f ] [ <input-port> ] if ;
: inotify-fd inotify get handle>> ;