sendfile
ret = sendfile(fd, s, off, size, NULL, &sbytes, flags);
return sendfile(s, fd, &off, size);
error = sendfile(fd, client_sock, 0, 0, NULL, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, NULL, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, NULL, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, NULL, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, offset, nbytes, NULL, NULL,
error = sendfile(fd, client_sock, offset, nbytes, NULL, NULL,
error = sendfile(fd, client_sock, 0, 0, NULL, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, offset, nbytes, NULL, NULL,
error = sendfile(fd, client_sock, offset, nbytes, &hdtr,
error = sendfile(fd, client_sock, 0, 0, hdtr1, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, &hdtr2, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, &hdtr3, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, -1, 0, NULL, NULL, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, NULL, &sbytes, SF_FLAGS(0, 0));
error = sendfile(fd, client_sock, 0, 0, NULL, sbytes_p, SF_FLAGS(0, 0));
{ compat4(AS(freebsd4_sendfile_args),sendfile), .sy_auevent = AUE_SENDFILE, .sy_flags = SYF_CAPENABLED, .sy_thrcnt = SY_THR_STATIC }, /* 336 = freebsd4 sendfile */
return (sendfile(td, uap, 0));
return (sendfile(td, &args, 1));
int sendfile(int, int, off_t, size_t, struct sf_hdtr *, off_t *, int);
ATF_REQUIRE_EQ(0, sendfile(filedesc, sockfd, 0, 0, NULL, NULL, 0));
ATF_REQUIRE_EQ(-1, sendfile(-1, -1, 0, 0, NULL, NULL, 0));
TEST(CapabilityPair, sendfile) {
return sendfile(in_fd, out_fd, *offset, count, NULL, offset, 0);
sendfile(pathfd, sd[0], 0, 0, NULL, NULL, 0));
TEST_F(Read, sendfile)
ASSERT_EQ(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0))
ASSERT_NE(0, sendfile(fd, sp[1], 0, bufsize, NULL, &sbytes, 0));
error = sendfile(fd, s[0], 0, 4, NULL, &nb, 0);
if (sendfile(fd, ss[0], start, readlen, NULL, NULL, flags) < 0)
if (sendfile(fd, sv[0], 0, 1, NULL, &sent, 0) == 0) {
if (sendfile(file_fd, connect_socket, test.offset, test.length,
if (sendfile(fd, sock, 0, 0, &sf_hdtr, NULL, 0) < 0)
{ '>', NORM, "send file to remote host", sendfile },
void sendfile(int);
static int sendfile(struct printer *_pp, int _type, char *_file,
switch (sendfile(pp, '\3', last+1, *last, dfcopies)) {
if (err == OK && sendfile(pp, '\2', file, '\0', 1) > 0) {