mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
changed comments for isc_socket_detach() to reflect reality
This commit is contained in:
parent
757a38d502
commit
c12e9c47b3
@ -284,15 +284,15 @@ isc_socket_detach(isc_socket_t **socketp);
|
||||
/*
|
||||
* Detach *socketp from its socket.
|
||||
*
|
||||
* Notes:
|
||||
*
|
||||
* Detaching the last reference may cause any still-pending I/O to be
|
||||
* cancelled.
|
||||
*
|
||||
* Requires:
|
||||
*
|
||||
* '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:
|
||||
*
|
||||
* *socketp is NULL.
|
||||
|
Loading…
x
Reference in New Issue
Block a user