Name

ap_send_fd_length — copy a number of bytes from an open file to the client

Synopsis

long ap_send_fd_length(FILE *f, request_rec *r, long length)

Copies no more than length bytes from f to the client. If length is less than 0, copies the whole file. Returns the number of bytes sent.