s/qmail
3.3.23
Next generation secure email transport
sqmail-3.3.23
src
subfdins.c
Go to the documentation of this file.
1
#include "
readwrite.h
"
2
#include "
substdio.h
"
3
#include "
subfd.h
"
4
5
int
subfd_readsmall
(
fd
,
buf
,
len
)
int
fd
;
char
*
buf
;
int
len
;
6
{
7
if
(
substdio_flush
(
subfdoutsmall
) == -1)
return
-1;
8
return
read(
fd
,
buf
,
len
);
9
}
10
11
char
subfd_inbufsmall
[256];
12
static
substdio
it =
SUBSTDIO_FDBUF
(
subfd_readsmall
,0,
subfd_inbufsmall
,256);
13
substdio
*
subfdinsmall
= ⁢
subfd.h
fd
int fd
Definition:
idedit.c:16
subfdinsmall
substdio * subfdinsmall
Definition:
subfdins.c:13
subfdoutsmall
substdio * subfdoutsmall
Definition:
subfdouts.c:7
len
unsigned len
Definition:
matchup.c:36
subfd_inbufsmall
char subfd_inbufsmall[256]
Definition:
subfdins.c:11
substdio.h
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
subfd_readsmall
int subfd_readsmall(int fd, char *buf, int len)
Definition:
subfdins.c:5
substdio_flush
int substdio_flush()
Generated on Sat Jan 12 2019 23:42:28 for s/qmail by
1.8.13