1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 20:12:48 -05:00

Centralise calls to fcntl into functions that carefully check the

error returns.

[originally from svn r9940]
This commit is contained in:
Simon Tatham
2013-07-19 18:10:02 +00:00
parent 96f3589e16
commit b426872219
7 changed files with 76 additions and 31 deletions

View File

@ -156,7 +156,10 @@ void (*putty_signal(int sig, void (*func)(int)))(int);
void block_signal(int sig, int block_it);
/* uxmisc.c */
int cloexec(int);
void cloexec(int);
void noncloexec(int);
int nonblock(int);
int no_nonblock(int);
/*
* Exports from unicode.c.