s/qmail
3.3.23
Next generation secure email transport
sqmail-3.3.23
src
ndelay_off.c
Go to the documentation of this file.
1
#include <sys/types.h>
2
#include <fcntl.h>
3
#include "
ndelay.h
"
4
5
#ifndef O_NONBLOCK
6
#define O_NONBLOCK O_NDELAY
7
#endif
8
9
int
ndelay_off
(
int
fd
)
10
{
11
return
fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~
O_NONBLOCK
);
12
}
fd
int fd
Definition:
idedit.c:16
ndelay_off
int ndelay_off(int fd)
Definition:
ndelay_off.c:9
ndelay.h
O_NONBLOCK
#define O_NONBLOCK
Definition:
ndelay_off.c:6
Generated on Sat Jan 12 2019 23:42:27 for s/qmail by
1.8.13