#include <StrMod/FDUtil.h>
Static Public Methods | |
| bool | setNonBlock (int fd, int &myerrno) |
| Set a file descriptor to POSIX non-blocking. | |
| bool | setBlock (int fd, int &myerrno) |
| Set a file descriptor to blocking. | |
This should probably be changed to a namespace. It, perhaps, shouldn't exist at all. :-)
Definition at line 42 of file FDUtil.h.
|
||||||||||||
|
Set a file descriptor to blocking.
Removes Returns true on success, false on failure. If there's a failure, myerrno will be set to the errno result that precipitated the failure, otherwise, it will not be touched.
Definition at line 51 of file FDUtil.cxx. |
|
||||||||||||
|
Set a file descriptor to POSIX non-blocking.
This will turn off Returns true on success, false on failure. If there's a failure, myerrno will be set to the errno result that precipitated the failure, otherwise, it will not be touched.
Definition at line 35 of file FDUtil.cxx. |
1.3-rc1