Displaying 1 result from an estimated 1 matches for "sf_parm".
Did you mean:
  sf_parms
  
2004 Dec 20
1
HP-UX/AIX sendfile patches.
...onfigure.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_bytes = 0;
+ 	hdtrl.trailer_data = 0;
+ 	hdtrl.trailer_length = 0;
+ 
+ 	nwritten = send_file(&tofd, &hdtrl, 0)...