s/qmail
3.3.23
Next generation secure email transport
sqmail-3.3.23
src
subfdin.c
Go to the documentation of this file.
1
#include "
readwrite.h
"
2
#include "
substdio.h
"
3
#include "
subfd.h
"
4
5
int
subfd_read
(
fd
,
buf
,
len
)
int
fd
;
char
*
buf
;
int
len
;
6
{
7
if
(
substdio_flush
(
subfdout
) == -1)
return
-1;
8
return
read(
fd
,
buf
,
len
);
9
}
10
11
char
subfd_inbuf
[
SUBSTDIO_INSIZE
];
12
static
substdio
it =
SUBSTDIO_FDBUF
(
subfd_read
,0,
subfd_inbuf
,
SUBSTDIO_INSIZE
);
13
substdio
*
subfdin
= ⁢
subfdout
substdio * subfdout
Definition:
subfdout.c:7
SUBSTDIO_INSIZE
#define SUBSTDIO_INSIZE
Definition:
substdio.h:33
subfd.h
subfd_read
int subfd_read(int fd, char *buf, int len)
Definition:
subfdin.c:5
fd
int fd
Definition:
idedit.c:16
subfd_inbuf
char subfd_inbuf[SUBSTDIO_INSIZE]
Definition:
subfdin.c:11
len
unsigned len
Definition:
matchup.c:36
substdio.h
subfdin
substdio * subfdin
Definition:
subfdin.c:13
SUBSTDIO_FDBUF
#define SUBSTDIO_FDBUF(op, fd, buf, len)
Definition:
substdio.h:12
readwrite.h
substdio
Definition:
substdio.h:4
buf
unsigned char * buf
Definition:
dns.c:41
substdio_flush
int substdio_flush()
Generated on Sat Jan 12 2019 23:42:28 for s/qmail by
1.8.13