s/qmail
3.3.23
Next generation secure email transport
sqmail-3.3.23
src
ndelay.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_on
(
int
fd
)
10
{
11
return
fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) |
O_NONBLOCK
);
12
}
fd
int fd
Definition:
idedit.c:16
O_NONBLOCK
#define O_NONBLOCK
Definition:
ndelay.c:6
ndelay.h
ndelay_on
int ndelay_on(int fd)
Definition:
ndelay.c:9
Generated on Sat Jan 12 2019 23:42:27 for s/qmail by
1.8.13