1<!-- Creator     : groff version 1.22.2 -->
2<!-- CreationDate: Wed Feb  1 22:24:31 2017 -->
3<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4"http://www.w3.org/TR/html4/loose.dtd">
5<html>
6<head>
7<meta name="generator" content="groff -Thtml, see www.gnu.org">
8<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
9<meta name="Content-Style" content="text/css">
10<style type="text/css">
11       p       { margin-top: 0; margin-bottom: 0; vertical-align: top }
12       pre     { margin-top: 0; margin-bottom: 0; vertical-align: top }
13       table   { margin-top: 0; margin-bottom: 0; vertical-align: top }
14       h1      { text-align: center }
15</style>
16<title>mtcp_destroy</title>
17<link rel="stylesheet" href="./common.css">
18</head>
19<body>
20<div class="main">
21<h1 align="center">mtcp_destroy</h1>
22<!--
23<a href="#NAME">NAME</a><br>
24<a href="#SYNOPSIS">SYNOPSIS</a><br>
25<a href="#DESCRIPTION">DESCRIPTION</a><br>
26<a href="#RETURN VALUE">RETURN VALUE</a><br>
27<a href="#NOTES">NOTES</a><br>
28<a href="#AUTHORS">AUTHORS</a><br>
29<a href="#SEE ALSO">SEE ALSO</a><br>
30<a href="#COLOPHON">COLOPHON</a><br>
31<hr>
32-->
33
34<h2>NAME
35<a name="NAME"></a>
36</h2>
37
38
39<p style="margin-left:11%; margin-top: 1em">mtcp_destroy
40&minus; clean up the mTCP stack.</p>
41
42<h2>SYNOPSIS
43<a name="SYNOPSIS"></a>
44</h2>
45
46
47<p style="margin-left:11%; margin-top: 1em"><b>#include
48&lt;mtcp_api.h&gt;</b></p>
49
50<p style="margin-left:11%; margin-top: 1em"><b>void
51mtcp_destroy();</b></p>
52
53<h2>DESCRIPTION
54<a name="DESCRIPTION"></a>
55</h2>
56
57
58
59<p style="margin-left:11%; margin-top: 1em"><b>mtcp_destroy</b>()
60call is used to clean up the networking stack for the mTCP
61application. This is usually the last call the application
62makes before terminating.</p>
63
64<h2>RETURN VALUE
65<a name="RETURN VALUE"></a>
66</h2>
67
68
69<p style="margin-left:11%; margin-top: 1em">Nothing is
70returned.</p>
71
72<h2>NOTES
73<a name="NOTES"></a>
74</h2>
75
76
77<p style="margin-left:11%; margin-top: 1em">This function
78only needs to be called once in an mTCP application.</p>
79
80<h2>AUTHORS
81<a name="AUTHORS"></a>
82</h2>
83
84
85<p style="margin-left:11%; margin-top: 1em">mOS
86development team &lt;[email protected]&gt;</p>
87
88<h2>SEE ALSO
89<a name="SEE ALSO"></a>
90</h2>
91
92
93
94<p style="margin-left:11%; margin-top: 1em"><b>mtcp_init</b>()</p>
95
96<h2>COLOPHON
97<a name="COLOPHON"></a>
98</h2>
99
100
101<p style="margin-left:11%; margin-top: 1em">This page is
102part of mOS release 0.3 <i>docs</i> section. A description
103of the project, and information about reporting bugs, can be
104found at http://mos.kaist.edu/.</p>
105<!--<hr>-->
106<br>
107<div class="footer">
108  <img src="back-arrow.jpg" width="2%" height="2%"><a href="http://mos.kaist.edu/index_man.html">Back to Index</a>
109</div>
110</div>
111</body>
112</html>
113