[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] evbuffer_add_file question



I'm thinking of using evbuffer_add_file  since it's integration with sendfile/splice looks really attractive.  But I'm a little confused by the offset and length parameters, specifically their types:  offset is defined as an off_t and length as a size_t.    Is there a reason why both parameters shouldn't be of type off_t?  Doing so would make length compatible with st_size field of the stat struct.

-dave 


***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.