Add iolib functions.
[cl-inotify.git] / grovel.lisp
index 1e207f1..fbe9a1e 100644 (file)
@@ -1,4 +1,4 @@
-;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8; package: cl-inotify; -*-
+;;; -*- mode: lisp; syntax: common-lisp; coding: utf-8-unix; package: cl-inotify; -*-
 
 ;; Copyright (c) 2011, Olof-Joachim Frahm
 ;; All rights reserved.
@@ -30,6 +30,9 @@
 
 (include "sys/inotify.h")
 
+;; since 2.6.27 according to inotify_init(2)
+(constant (in-cloexec       "IN_CLOEXEC"))
+(constant (in-nonblock      "IN_NONBLOCK"))
 (constant (in-access        "IN_ACCESS"))
 (constant (in-modify        "IN_MODIFY"))
 (constant (in-attrib        "IN_ATTRIB"))