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