1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50 <title>nw::os</title> 51 </head> 52 <body> 53 <h1><CODE>nw::os</CODE> Namespace</h1> 54 <h2>Description</h2> 55 <div class="section"> 56 <p>Namespace for the operating system API.</p> 57 </div> 58 <a name="class" id="class"> 59 <h2>Classes</h2> 60 <div class="section"> 61 <table class="members"> 62 <tr> 63 <th> 64 <a href="../../nw/os/IAllocator/Overview.html">nw::os::IAllocator</a> 65 </th> 66 <td>The memory allocator interface.</td> 67 </tr> 68 <tr> 69 <th> 70 <a href="../../nw/os/NullLockObject/Overview.html">nw::os::NullLockObject</a> 71 </th> 72 <td>An empty locked object.</td> 73 </tr> </table> 74 </div> 75 </a> <a name="struct" id="struct"> 76 <h2>Structures</h2> 77 <div class="section"> 78 <table class="members"> 79 <tr> 80 <th> 81 <a href="../../nw/os/SafeFreeFunctor/Overview.html">nw::os::SafeFreeFunctor</a> 82 </th> 83 <td>A deleter for freeing memory with <CODE>SafeFree</CODE>.</td> 84 </tr> </table> 85 </div> 86 </a> <a name="typedef" id="typedef"> 87 <h2><CODE>typedef</CODE> Definitions</h2> 88 <div class="section"> 89 <table class="members"> 90 <tr> 91 <td width="100" /> 92 <th> 93 <a href="../../nw/os/LockObject.html">LockObject</a> 94 </th> 95 <td>Lock object that performs exclusively.</td> 96 </tr> </table> 97 </div> 98 </a> <a name="function" id="function"> 99 <h2>Functions</h2> 100 <div class="section"> 101 <table class="members"> 102 <tr> 103 <th class="category" colspan="3">Memory Allocation and Release</th> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108 <a href="../../nw/os/AllocateAndFill.html"><CODE>AllocateAndFill</CODE></a> 109 </th> 110 <td>Allocates memory and fills the allocated region with the specified value.</td> 111 </tr> 112 <tr> 113 <td width="100"> </td> 114 <th> 115 <a href="../../nw/os/AllocateAndFillN.html"><CODE>AllocateAndFillN</CODE></a> 116 </th> 117 <td>Allocates memory of the specified size, and fills the allocated region with the specified value.</td> 118 </tr> 119 <tr> 120 <td width="100"> </td> 121 <th> 122 <a href="../../nw/os/AllocateAndAssignN.html"><CODE>AllocateAndAssignN</CODE></a> 123 </th> 124 <td>Allocates memory of the specified size, and assigns the allocated region with the specified value.</td> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129 <a href="../../nw/os/AllocateAndCopyString.html"><CODE>AllocateAndCopyString</CODE></a> 130 </th> 131 <td>Allocates only the required amount of memory, and copies a string into the allocated region.</td> 132 </tr> 133 <tr> 134 <td width="100"> </td> 135 <th> 136 <a href="../../nw/os/SafeFree.html">SafeFree</a> 137 </th> 138 <td>Inline function for setting memory to zero after it has been freed.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <a href="../../nw/os/SafeFreeAll.html">SafeFreeAll</a> 144 </th> 145 <td>Function for using <CODE>SafeFree</CODE> to free the memory for all container elements.</td> 146 </tr> 147 <tr> 148 <th class="category" colspan="3">Other</th> 149 </tr> 150 <tr> 151 <td width="100"> </td> 152 <th> 153 <a href="../../nw/os/IsDeviceMemory.html">IsDeviceMemory</a> 154 </th> 155 <td>Determines whether the address is for device memory.</td> 156 </tr> 157 <tr> 158 <td width="100"> </td> 159 <th> 160 <a href="../../nw/os/SNPrintf.html">SNPrintf</a> 161 </th> 162 <td> 163 </td> 164 </tr> 165 <tr> 166 <td width="100"> </td> 167 <th> 168 <a href="../../nw/os/VSNPrintf.html">VSNPrintf</a> 169 </th> 170 <td> 171 </td> 172 </tr> 173 <tr> 174 <td width="100"> </td> 175 <th> 176 <a href="../../nw/os/Halt.html">Halt</a> 177 </th> 178 <td> 179 </td> 180 </tr> </table> 181 </div> 182 </a> 183 <hr><p>CONFIDENTIAL</p></body> 184</html>