diff options
Diffstat (limited to 'lib/util/samba_util.h')
-rw-r--r-- | lib/util/samba_util.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h index e9de6fae22..35eef421af 100644 --- a/lib/util/samba_util.h +++ b/lib/util/samba_util.h @@ -649,18 +649,7 @@ _PUBLIC_ bool directory_create_or_exist_strict(const char *dname, uid_t uid, mode_t dir_perms); -/** - Set a fd into blocking/nonblocking mode. Uses POSIX O_NONBLOCK if available, - else - if SYSV use O_NDELAY - if BSD use FNDELAY -**/ -_PUBLIC_ int set_blocking(int fd, bool set); - -/** - set close on exec on a file descriptor if available - **/ -_PUBLIC_ bool smb_set_close_on_exec(int fd); +#include "blocking.h" /** Sleep for a specified number of milliseconds. |