#include <stdlib.h>#include <stdio.h>#include <time.h>#include <ctype.h>#include <math.h>#include <errno.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <dirent.h>#include "common.h"
Go to the source code of this file.
Defines | |
| #define | BSIZE 8192 |
Functions | |
| int | SendFile (int fdout, int fdin, int len) |
| transfer data between file descriptors. | |
| #define BSIZE 8192 |
Referenced by SendFile().
| int SendFile | ( | int | fdout, | |
| int | fdin, | |||
| int | len | |||
| ) |
transfer data between file descriptors.
| the | destination file descriptor | |
| the | source file descriptor | |
| len | the length of the file If len is <0, then up to 2*BSIZE are sent |
Definition at line 48 of file sendfile.c.
References BSIZE, and PrintError.
Referenced by Rename().
1.5.6