Mercurial > dovecot > original-hg > dovecot-1.2
view src/lib/fdpass.h @ 0:3b1985cbc908 HEAD
Initial revision
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Aug 2002 12:15:38 +0300 |
parents | |
children | 4a7ab9e94f25 |
line wrap: on
line source
#ifndef __FDPASS_H #define __FDPASS_H /* Returns number of bytes sent, -1 if error. */ int fd_send(int handle, int send_fd, const void *data, int size); /* Returns number of bytes read, or -1 if error. fd is set only if return value is larger than 0. */ int fd_read(int handle, void *data, int size, int *fd); #endif