.\" @(#)isc_close.3x 1.0 92/02/13 Lysator .\" ISC - networking library .\" Copyright (C) 1992, 1999 by Peter Eriksson and Per Cederqvist of the .\" Lysator Academic Computer Association. .\" .\" .\" This program is free software; you can redistribute it and/or modify .\" it under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This program is distributed in the hope that it will be useful, .\" but WITHOUT ANY WARRANTY; without even the implied warranty of .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the .\" GNU General Public License for more details. .\" .\" You should have received a copy of the GNU General Public License .\" along with this program; if not, write to the Free Software .\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. .\" .TH ISC_CLOSE 3X "24 April 1999" "Release 1.0" "ISC LIBRARY" .SH NAME isc_close \- close an ISC session .SH SYNOPSIS .nf .ft B #ifdef HAVE_STDDEF_H # include #endif #ifdef HAVE_STDARG_H # include #endif #include #include #include #include .ft .fi .LP .nf .ft B void isc_close(IscSession *scb); .ft R .fi .SH DESCRIPTION This function force the session to go into closing state. You will receive the event .SM ISC_EVENT_CLOSED when all queued data has been read and/or sent. To force an immediate close even if there is pending data you should use the .B isc_destroy(3x) function. .SH ARGUMENTS The .I scb argument must be pointer to a session control structure. .SH RETURN VALUES Does not return any value. .SH SEE ALSO .BR isc (3x)