diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2013-01-09 12:47:23 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2013-01-09 12:47:23 -0300 |
commit | cbba835b154ba31e7a07ba1b15a06b8953eb7e72 (patch) | |
tree | 8ea8ad0b67ba6a2f8a789f9e61ea4f80d0c20d35 /dpid/misc_new.c | |
parent | d236210c1608952b7910123fbede108317a80444 (diff) |
Refactored FD close calls into a single new dClose() dlib function [p37sitdu]
Diffstat (limited to 'dpid/misc_new.c')
-rw-r--r-- | dpid/misc_new.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/dpid/misc_new.c b/dpid/misc_new.c index 8c07a4eb..50867bc3 100644 --- a/dpid/misc_new.c +++ b/dpid/misc_new.c @@ -19,20 +19,6 @@ #include "dpid_common.h" #include "misc_new.h" /* for function prototypes */ - -/* - * Close a FD handling EINTR. - */ -int a_Misc_close_fd(int fd) -{ - int st; - - do { - st = close(fd); - } while (st < 0 && errno == EINTR); - return st; -} - /*! Reads a dpi tag from a socket * \li Continues after a signal interrupt * \Return |