diff options
author | Andreas Schneider <asn@redhat.com> | 2010-02-25 14:32:39 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-26 08:57:30 +0100 |
commit | 1983256c70cf07b8c8afddd024ee5fd2522ee83c (patch) | |
tree | d40508f5d7fdf1cbd824029951c8ca115cfb7b07 /lib/tsocket | |
parent | 27e7578e2763f0e9de2e0c94521d552678244cf2 (diff) | |
download | samba-1983256c70cf07b8c8afddd024ee5fd2522ee83c.tar.gz samba-1983256c70cf07b8c8afddd024ee5fd2522ee83c.tar.bz2 samba-1983256c70cf07b8c8afddd024ee5fd2522ee83c.zip |
tsocket: Improve the tsocket_address_bsd_sockaddr documentation.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/tsocket')
-rw-r--r-- | lib/tsocket/tsocket.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/tsocket/tsocket.h b/lib/tsocket/tsocket.h index 1cd40e476e..d983325c45 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. * |