Set FD_CLOEXEC in a little convenience function that does the right thing
[sgt/putty] / unix / unix.h
index 8235897..fd206a9 100644 (file)
@@ -128,6 +128,9 @@ void gtk_setup_config_box(struct controlbox *b, int midsession, void *window);
 void (*putty_signal(int sig, void (*func)(int)))(int);
 void block_signal(int sig, int block_it);
 
+/* uxmisc.c */
+int cloexec(int);
+
 /*
  * Exports from unicode.c.
  */