1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Set FD_CLOEXEC in a little convenience function that does the right thing

with F_GETFD and F_SETFD.

[originally from svn r6978]
This commit is contained in:
Ben Harris
2006-12-09 15:44:31 +00:00
parent 2226098a9e
commit 86eac20abb
6 changed files with 22 additions and 7 deletions

View 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.
*/