]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/io.h
Only log "IDENT ... no result" when IDENT was looked up
[ngircd-alex.git] / src / ngircd / io.h
index dfc27b076fe740f8008cfe1e45c32c56fe1fa15c..556d752cab50b17accae64ac9824d5657c468c60 100644 (file)
@@ -4,15 +4,16 @@
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
- *
- * I/O abstraction interface header
- *
- * $Id: io.h,v 1.3 2005/07/14 09:15:58 alex Exp $
  */
 
-#ifndef io_H_inclucded
+#ifndef io_H_included
 #define io_H_included
 
+/**
+ * @file
+ * I/O abstraction interface (header)
+ */
+
 #include "portab.h"
 #include <sys/time.h>
 
@@ -45,6 +46,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));