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:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user