2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

changed comments for isc_socket_detach() to reflect reality

This commit is contained in:
Andreas Gustafsson
2000-01-10 22:22:53 +00:00
parent 757a38d502
commit c12e9c47b3

View File

@@ -284,15 +284,15 @@ isc_socket_detach(isc_socket_t **socketp);
/* /*
* Detach *socketp from its socket. * Detach *socketp from its socket.
* *
* Notes:
*
* Detaching the last reference may cause any still-pending I/O to be
* cancelled.
*
* Requires: * Requires:
* *
* 'socketp' points to a valid socket. * 'socketp' points to a valid socket.
* *
* If '*socketp' is the last reference to the socket,
* then:
*
* There must be no pending I/O requests.
*
* Ensures: * Ensures:
* *
* *socketp is NULL. * *socketp is NULL.