Displaying 1 result from an estimated 1 matches for "samba_cv_have_sendfil".
Did you mean:
samba_cv_have_sendfile
2004 Dec 20
1
HP-UX/AIX sendfile patches.
...s (googled docs are rather aged).
Bill
-------------- next part --------------
*** configure.orig.in Mon Dec 20 11:00:03 2004
--- configure.aix.in Mon Dec 20 10:38:36 2004
***************
*** 4242,4247 ****
--- 4242,4277 ----
fi
;;
+ *aix*)
+ AC_CACHE_CHECK([for AIX send_file support],samba_cv_HAVE_SENDFILE,[
+ AC_TRY_LINK([\
+ #include <sys/socket.h>],
+ [\
+ int fromfd, tofd;
+ size_t total=0;
+ struct sf_parms hdtrl;
+ ssize_t nwritten;
+ off64_t offset;
+
+ hdtrl.header_data = 0;
+ hdtrl.header_length = 0;
+ hdtrl.file_descriptor = fromfd;
+ hdtrl.file_offset = 0;
+ hdtrl.file_...