ne_set_request_body_fd man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

NE_SET_REQUEST_BODY_(3)	      neon API reference       NE_SET_REQUEST_BODY_(3)

NAME
       ne_set_request_body_buffer, ne_set_request_body_fd,
       ne_set_request_body_fd64 - include a message body with a request

SYNOPSIS
       #include <ne_request.h>

       void ne_set_request_body_buffer(ne_request *req, const char *buf,
				       size_t count);

       int ne_set_request_body_fd(ne_request *req, int fd, off_t begin,
				  off_t length);

DESCRIPTION
       The ne_set_request_body_buffer function specifies that a message body
       should be included with the body, which is stored in the count bytes
       buffer buf.

       The ne_set_request_body_fd function can be used to include a message
       body with a request which is read from a file descriptor. The body is
       read from the file descriptor fd, which must be a associated with a
       seekable file (not a pipe, socket, or FIFO).  count bytes are read,
       beginning at offset begin (hence, passing begin as zero means the body
       is read from the beginning of the file).

       For all the above functions, the source of the request body must
       survive until the request has been dispatched; neither the memory
       buffer passed to ne_set_request_body_buffer nor the file descriptor
       passed to ne_set_request_body_fd are copied internally.

SEE ALSO
       ne_request_create

AUTHOR
       Joe Orton <neon@lists.manyfish.co.uk>
	   Author.

COPYRIGHT
neon 0.29.3			11 January 2010	       NE_SET_REQUEST_BODY_(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net