X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fio.h;h=556d752cab50b17accae64ac9824d5657c468c60;hp=a2285de4abfd3ec3f28fe9792f802bcd2a5886fa;hb=4102e8fdfea33a5d8c398c98db90914c5dc29610;hpb=262d945284541988bdf7872e925008610774de55 diff --git a/src/ngircd/io.h b/src/ngircd/io.h index a2285de4..556d752c 100644 --- a/src/ngircd/io.h +++ b/src/ngircd/io.h @@ -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.4 2006/12/25 22:53:52 alex Exp $ */ #ifndef io_H_included #define io_H_included +/** + * @file + * I/O abstraction interface (header) + */ + #include "portab.h" #include @@ -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));