]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/io.h
Xcode: only build current architecture in "Debug" target
[ngircd-alex.git] / src / ngircd / io.h
index dfc27b076fe740f8008cfe1e45c32c56fe1fa15c..2f4c964551d31627ae8ba743b700378979d6cc9c 100644 (file)
@@ -7,10 +7,10 @@
  *
  * I/O abstraction interface header
  *
- * $Id: io.h,v 1.3 2005/07/14 09:15:58 alex Exp $
+ * $Id: io.h,v 1.4 2006/12/25 22:53:52 alex Exp $
  */
 
-#ifndef io_H_inclucded
+#ifndef io_H_included
 #define io_H_included
 
 #include "portab.h"
@@ -45,6 +45,9 @@ bool io_close PARAMS((int fd));
 /* set O_NONBLOCK */
 bool io_setnonblock PARAMS((int fd));
 
+/* set O_CLOEXEC */
+bool io_setcloexec PARAMS((int fd));
+
 /* watch fds for activity */
 int io_dispatch PARAMS((struct timeval *tv));