00001 /* 00002 || This file is part of Pike. For copyright information see COPYRIGHT. 00003 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING 00004 || for more information. 00005 || $Id: fd_control.h,v 1.10 2002/10/11 01:39:31 nilsson Exp $ 00006 */ 00007 00008 #ifndef FD_CONTROL_H 00009 #define FD_CONTROL_H 00010 00011 /* Prototypes begin here */ 00012 PMOD_EXPORT int set_nonblocking(int fd,int which); 00013 PMOD_EXPORT int query_nonblocking(int fd); 00014 PMOD_EXPORT int set_close_on_exec(int fd, int which); 00015 00016 #ifdef HAVE_BROKEN_F_SETFD 00017 void do_close_on_exec(void); 00018 void cleanup_close_on_exec(void); 00019 #endif /* HAVE_BROKEN_F_SETFD */ 00020 /* Prototypes end here */ 00021 00022 #endif
1.3.9.1