From: Andreas Schneider Date: Thu, 25 Feb 2010 13:32:39 +0000 (+0100) Subject: tsocket: Improve the tsocket_address_bsd_sockaddr documentation. X-Git-Tag: samba-3.6.0pre1~4939 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=1983256c70cf07b8c8afddd024ee5fd2522ee83c tsocket: Improve the tsocket_address_bsd_sockaddr documentation. Signed-off-by: Stefan Metzmacher --- diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h index 1cd40e476e6..d983325c454 100644 --- a/lib/tsocket/tsocket.h +++ b/lib/tsocket/tsocket.h @@ -869,7 +869,9 @@ ssize_t tsocket_address_bsd_sockaddr(const struct tsocket_address *addr, * @brief Wrap an existing file descriptors into the tstream abstraction. * * You can use this function to wrap an existing file descriptors into the - * tstream abstraction. + * tstream abstraction. After that you're not able to use this file descriptor + * for anything else. The file descriptor will be closed when the stream gets + * freed. If you still want to use the fd you have have to create a duplicate. * * @param[in] mem_ctx The talloc memory context to use. *