403Webshell
Server IP : 216.92.14.13  /  Your IP : 216.73.216.171
Web Server : Apache
System : Linux vps4089.pairvps.com 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
User : rmlac2fmr ( 1040637)
PHP Version : 8.2.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/include/dovecot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/include/dovecot/sendfile-util.h
#ifndef SENDFILE_UTIL_H
#define SENDFILE_UTIL_H

/* Wrapper for various sendfile()-like calls. Read a maximum of count bytes
   from the given offset in in_fd and write them to out_fd. The offset is
   updated after the call. Note the call assert-crashes if count is 0.

   Returns:
   >0 number of bytes successfully written (maybe less than count)
   0 if offset points to the input's EOF or past it
   -1, errno=EINVAL if it isn't supported for some reason (out_fd isn't a
       socket or there simply is no sendfile()).
   -1, errno=EAGAIN if non-blocking write couldn't send anything */
ssize_t safe_sendfile(int out_fd, int in_fd, uoff_t *offset, size_t count);

#endif

Youez - 2016 - github.com/yon3zu
LinuXploit