aboutsummaryrefslogtreecommitdiff
path: root/unix/os/net/tcpclose.c
blob: 0da1cc73390531dc7e09fef5cba0bdf610e25310 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
 */

#include "types.h"

extern	int errno;
extern	int tcperrno;

/* TCP_CLOSE -- Close a socket.
 */
tcp_close (s)
u_sock	s;			/* the socket	*/
{
	/* MACHDEP */
	return (close (s));
}