view src/lib/sendfile-util.h @ 927:935d0b1df754 HEAD

Remove one of the previous speedups, it broke things
author Timo Sirainen <tss@iki.fi>
date Thu, 09 Jan 2003 01:35:09 +0200
parents 8aaa39e7aec8
children ee4bdf40ec10
line wrap: on
line source

#ifndef __SENDFILE_UTIL_H
#define __SENDFILE_UTIL_H

/* simple wrapper for sendfile(), allowing usage of 64bit off_t with it */
ssize_t safe_sendfile(int out_fd, int in_fd, uoff_t *offset, size_t count);

#endif