1<!-- Creator : groff version 1.22.2 --> 2<!-- CreationDate: Wed Feb 1 23:55:12 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 18</head> 19<body> 20 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 32<hr> 33 34 35<h2>NAME 36<a name="NAME"></a> 37</h2> 38 39 40<p style="margin-left:11%; margin-top: 1em">mtcp_destroy 41− clean up the mTCP stack.</p> 42 43<h2>SYNOPSIS 44<a name="SYNOPSIS"></a> 45</h2> 46 47 48<p style="margin-left:11%; margin-top: 1em"><b>#include 49<mtcp_api.h></b></p> 50 51<p style="margin-left:11%; margin-top: 1em"><b>void 52mtcp_destroy();</b></p> 53 54<h2>DESCRIPTION 55<a name="DESCRIPTION"></a> 56</h2> 57 58 59 60<p style="margin-left:11%; margin-top: 1em"><b>mtcp_destroy</b>() 61call is used to clean up the networking stack for the mTCP 62application. This is usually the last call the application 63makes before terminating.</p> 64 65<h2>RETURN VALUE 66<a name="RETURN VALUE"></a> 67</h2> 68 69 70<p style="margin-left:11%; margin-top: 1em">Nothing is 71returned.</p> 72 73<h2>NOTES 74<a name="NOTES"></a> 75</h2> 76 77 78<p style="margin-left:11%; margin-top: 1em">This function 79only needs to be called once in an mTCP application.</p> 80 81<h2>AUTHORS 82<a name="AUTHORS"></a> 83</h2> 84 85 86<p style="margin-left:11%; margin-top: 1em">mOS development 87team <[email protected]></p> 88 89<h2>SEE ALSO 90<a name="SEE ALSO"></a> 91</h2> 92 93 94 95<p style="margin-left:11%; margin-top: 1em"><b>mtcp_init</b>()</p> 96 97<h2>COLOPHON 98<a name="COLOPHON"></a> 99</h2> 100 101 102<p style="margin-left:11%; margin-top: 1em">This page is 103part of mOS release 0.3 <i>docs</i> section. A description 104of the project, and information about reporting bugs, can be 105found at http://mos.kaist.edu/.</p> 106<hr> 107</body> 108</html> 109