# /* in_close.c */ /* EMACS_MODES: c !fill */ /* Internet protocol layer for the MIT network system. The following * routines are included: * in_close Close an internet connection * * Note that use of this package requires the use of the standard I/O * library. */ #include #include #include #include #include in_close (fd) /* Close the network connection specified by fd. Simply call down * to the system close routine, and deallocate the fragment. */ int fd; /* network file descriptor */ { close (fd); in_free (in_frgbuf[fd].fg_buf); }