Skip to content

Commit 409ae16

Browse files
author
Daniel Farina
committed
Add documentation to closeSocket
Signed-off-by: Daniel Farina <[email protected]>
1 parent 9ada259 commit 409ae16

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pg_logfebe.c

+5
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,11 @@ openSocket(int *dst, char *path)
220220
return;
221221
}
222222

223+
/*
224+
* Perform a best-effort to close and invalidate a file descriptor.
225+
*
226+
* This exists to to encapsulate EINTR handling and invalidation.
227+
*/
223228
static void
224229
closeSocket(int *fd)
225230
{

0 commit comments

Comments
 (0)