00001 #ifndef foononblockhfoo 00002 #define foononblockhfoo 00003 00004 /* $Id: nonblock.h,v 1.2 2003/09/09 22:14:58 poettering Exp $ 00005 * 00006 * This file is part of libshbuf. 00007 * 00008 * libshbuf is free software; you can redistribute it and/or modify it under 00009 * the terms of the GNU General Public License as published by the Free 00010 * Software Foundation; either version 2 of the License, or (at your 00011 * option) any later version. 00012 * 00013 * libshbuf is distributed in the hope that it will be useful, but WITHOUT 00014 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00015 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00016 * for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with libshbuf; if not, write to the Free Software Foundation, 00020 * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 00021 */ 00022 00023 int set_nonblocking(int fd, int b); 00024 00025 #endif