Micro template library A library for building device drivers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

namespacetesting_1_1internal_1_1posix.html 34 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>uTL: testing::internal::posix Namespace Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="resize.js"></script>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript">
  17. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  18. $(document).ready(initResizable);
  19. /* @license-end */</script>
  20. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  21. <script type="text/javascript" src="search/searchdata.js"></script>
  22. <script type="text/javascript" src="search/search.js"></script>
  23. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  24. </head>
  25. <body>
  26. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  27. <div id="titlearea">
  28. <table cellspacing="0" cellpadding="0">
  29. <tbody>
  30. <tr style="height: 56px;">
  31. <td id="projectalign" style="padding-left: 0.5em;">
  32. <div id="projectname">uTL
  33. </div>
  34. <div id="projectbrief">micro Template library</div>
  35. </td>
  36. </tr>
  37. </tbody>
  38. </table>
  39. </div>
  40. <!-- end header part -->
  41. <!-- Generated by Doxygen 1.8.14 -->
  42. <script type="text/javascript">
  43. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  44. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  45. /* @license-end */
  46. </script>
  47. <script type="text/javascript" src="menudata.js"></script>
  48. <script type="text/javascript" src="menu.js"></script>
  49. <script type="text/javascript">
  50. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  51. $(function() {
  52. initMenu('',true,false,'search.php','Search');
  53. $(document).ready(function() { init_search(); });
  54. });
  55. /* @license-end */</script>
  56. <div id="main-nav"></div>
  57. </div><!-- top -->
  58. <div id="side-nav" class="ui-resizable side-nav-resizable">
  59. <div id="nav-tree">
  60. <div id="nav-tree-contents">
  61. <div id="nav-sync" class="sync"></div>
  62. </div>
  63. </div>
  64. <div id="splitbar" style="-moz-user-select:none;"
  65. class="ui-resizable-handle">
  66. </div>
  67. </div>
  68. <script type="text/javascript">
  69. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  70. $(document).ready(function(){initNavTree('namespacetesting_1_1internal_1_1posix.html','');});
  71. /* @license-end */
  72. </script>
  73. <div id="doc-content">
  74. <!-- window showing the filter options -->
  75. <div id="MSearchSelectWindow"
  76. onmouseover="return searchBox.OnSearchSelectShow()"
  77. onmouseout="return searchBox.OnSearchSelectHide()"
  78. onkeydown="return searchBox.OnSearchSelectKey(event)">
  79. </div>
  80. <!-- iframe showing the search results (closed by default) -->
  81. <div id="MSearchResultsWindow">
  82. <iframe src="javascript:void(0)" frameborder="0"
  83. name="MSearchResults" id="MSearchResults">
  84. </iframe>
  85. </div>
  86. <div class="header">
  87. <div class="summary">
  88. <a href="#typedef-members">Typedefs</a> &#124;
  89. <a href="#func-members">Functions</a> </div>
  90. <div class="headertitle">
  91. <div class="title">testing::internal::posix Namespace Reference</div> </div>
  92. </div><!--header-->
  93. <div class="contents">
  94. <table class="memberdecls">
  95. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
  96. Typedefs</h2></td></tr>
  97. <tr class="memitem:a8eb9f08d3af29941c2d2a964cfff3ecb"><td class="memItemLeft" align="right" valign="top">typedef struct stat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8eb9f08d3af29941c2d2a964cfff3ecb">StatStruct</a></td></tr>
  98. <tr class="separator:a8eb9f08d3af29941c2d2a964cfff3ecb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  99. </table><table class="memberdecls">
  100. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  101. Functions</h2></td></tr>
  102. <tr class="memitem:a3117b067e1f942a2031e666953120ccc"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a3117b067e1f942a2031e666953120ccc">FileNo</a> (FILE *file)</td></tr>
  103. <tr class="separator:a3117b067e1f942a2031e666953120ccc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:a16ebe936b3a8ea462a94191635aedc27"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a16ebe936b3a8ea462a94191635aedc27">IsATTY</a> (int fd)</td></tr>
  105. <tr class="separator:a16ebe936b3a8ea462a94191635aedc27"><td class="memSeparator" colspan="2">&#160;</td></tr>
  106. <tr class="memitem:a2b87b7ff647a128614daf50667eb9304"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a2b87b7ff647a128614daf50667eb9304">Stat</a> (const char *path, <a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8eb9f08d3af29941c2d2a964cfff3ecb">StatStruct</a> *buf)</td></tr>
  107. <tr class="separator:a2b87b7ff647a128614daf50667eb9304"><td class="memSeparator" colspan="2">&#160;</td></tr>
  108. <tr class="memitem:a1ef2385a7f8e4c706054da35967e76bd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a1ef2385a7f8e4c706054da35967e76bd">StrCaseCmp</a> (const char *s1, const char *s2)</td></tr>
  109. <tr class="separator:a1ef2385a7f8e4c706054da35967e76bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:a8e352884793a65ae8be144676f1a9136"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8e352884793a65ae8be144676f1a9136">StrDup</a> (const char *src)</td></tr>
  111. <tr class="separator:a8e352884793a65ae8be144676f1a9136"><td class="memSeparator" colspan="2">&#160;</td></tr>
  112. <tr class="memitem:acbad5d4ea5b73fd1765f5f760642932a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#acbad5d4ea5b73fd1765f5f760642932a">RmDir</a> (const char *dir)</td></tr>
  113. <tr class="separator:acbad5d4ea5b73fd1765f5f760642932a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  114. <tr class="memitem:af0d04ed5baeed28353fa38742748a421"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#af0d04ed5baeed28353fa38742748a421">IsDir</a> (const <a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8eb9f08d3af29941c2d2a964cfff3ecb">StatStruct</a> &amp;st)</td></tr>
  115. <tr class="separator:af0d04ed5baeed28353fa38742748a421"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:a36fca815713332e5c6dc92c98b6b2574"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a36fca815713332e5c6dc92c98b6b2574">StrNCpy</a> (char *dest, const char *src, size_t n)</td></tr>
  117. <tr class="separator:a36fca815713332e5c6dc92c98b6b2574"><td class="memSeparator" colspan="2">&#160;</td></tr>
  118. <tr class="memitem:a1ddc8a4fc6bb21da372307485591a212"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a1ddc8a4fc6bb21da372307485591a212">ChDir</a> (const char *dir)</td></tr>
  119. <tr class="separator:a1ddc8a4fc6bb21da372307485591a212"><td class="memSeparator" colspan="2">&#160;</td></tr>
  120. <tr class="memitem:a4042201dcc4932641d484e7ddf94de7d"><td class="memItemLeft" align="right" valign="top">FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a4042201dcc4932641d484e7ddf94de7d">FOpen</a> (const char *path, const char *mode)</td></tr>
  121. <tr class="separator:a4042201dcc4932641d484e7ddf94de7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:a9ef6d089cdae03f9d9e0e6d379c40703"><td class="memItemLeft" align="right" valign="top">FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a9ef6d089cdae03f9d9e0e6d379c40703">FReopen</a> (const char *path, const char *mode, FILE *stream)</td></tr>
  123. <tr class="separator:a9ef6d089cdae03f9d9e0e6d379c40703"><td class="memSeparator" colspan="2">&#160;</td></tr>
  124. <tr class="memitem:af7c268eba32d5a718b36b6b3801302e0"><td class="memItemLeft" align="right" valign="top">FILE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#af7c268eba32d5a718b36b6b3801302e0">FDOpen</a> (int fd, const char *mode)</td></tr>
  125. <tr class="separator:af7c268eba32d5a718b36b6b3801302e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
  126. <tr class="memitem:af4beeaaa8d62916d5e3b644a1ddfbd6b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#af4beeaaa8d62916d5e3b644a1ddfbd6b">FClose</a> (FILE *fp)</td></tr>
  127. <tr class="separator:af4beeaaa8d62916d5e3b644a1ddfbd6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a3c6ab13e581a56f1b02f3eb7536c97fd"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a3c6ab13e581a56f1b02f3eb7536c97fd">Read</a> (int fd, void *buf, unsigned int count)</td></tr>
  129. <tr class="separator:a3c6ab13e581a56f1b02f3eb7536c97fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. <tr class="memitem:af4acf9f78d55f815a18b43786511abef"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#af4acf9f78d55f815a18b43786511abef">Write</a> (int fd, const void *buf, unsigned int count)</td></tr>
  131. <tr class="separator:af4acf9f78d55f815a18b43786511abef"><td class="memSeparator" colspan="2">&#160;</td></tr>
  132. <tr class="memitem:a15e5b8f2a535ef1b2529b85b861e4846"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a15e5b8f2a535ef1b2529b85b861e4846">Close</a> (int fd)</td></tr>
  133. <tr class="separator:a15e5b8f2a535ef1b2529b85b861e4846"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:a4b77b14af6f4d18f83d303b98e9349c4"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a4b77b14af6f4d18f83d303b98e9349c4">StrError</a> (int errnum)</td></tr>
  135. <tr class="separator:a4b77b14af6f4d18f83d303b98e9349c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
  136. <tr class="memitem:a1d5e3da5a27eed25986859fa83cafe95"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a1d5e3da5a27eed25986859fa83cafe95">GetEnv</a> (const char *name)</td></tr>
  137. <tr class="separator:a1d5e3da5a27eed25986859fa83cafe95"><td class="memSeparator" colspan="2">&#160;</td></tr>
  138. <tr class="memitem:a69b8278c59359dd6a6f941b4643db9fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a69b8278c59359dd6a6f941b4643db9fb">Abort</a> ()</td></tr>
  139. <tr class="separator:a69b8278c59359dd6a6f941b4643db9fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. </table>
  141. <h2 class="groupheader">Typedef Documentation</h2>
  142. <a id="a8eb9f08d3af29941c2d2a964cfff3ecb"></a>
  143. <h2 class="memtitle"><span class="permalink"><a href="#a8eb9f08d3af29941c2d2a964cfff3ecb">&#9670;&nbsp;</a></span>StatStruct</h2>
  144. <div class="memitem">
  145. <div class="memproto">
  146. <table class="memname">
  147. <tr>
  148. <td class="memname">typedef struct stat <a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8eb9f08d3af29941c2d2a964cfff3ecb">testing::internal::posix::StatStruct</a></td>
  149. </tr>
  150. </table>
  151. </div><div class="memdoc">
  152. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02320">2320</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  153. </div>
  154. </div>
  155. <h2 class="groupheader">Function Documentation</h2>
  156. <a id="a69b8278c59359dd6a6f941b4643db9fb"></a>
  157. <h2 class="memtitle"><span class="permalink"><a href="#a69b8278c59359dd6a6f941b4643db9fb">&#9670;&nbsp;</a></span>Abort()</h2>
  158. <div class="memitem">
  159. <div class="memproto">
  160. <table class="mlabels">
  161. <tr>
  162. <td class="mlabels-left">
  163. <table class="memname">
  164. <tr>
  165. <td class="memname">void testing::internal::posix::Abort </td>
  166. <td>(</td>
  167. <td class="paramname"></td><td>)</td>
  168. <td></td>
  169. </tr>
  170. </table>
  171. </td>
  172. <td class="mlabels-right">
  173. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  174. </tr>
  175. </table>
  176. </div><div class="memdoc">
  177. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02392">2392</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  178. </div>
  179. </div>
  180. <a id="a1ddc8a4fc6bb21da372307485591a212"></a>
  181. <h2 class="memtitle"><span class="permalink"><a href="#a1ddc8a4fc6bb21da372307485591a212">&#9670;&nbsp;</a></span>ChDir()</h2>
  182. <div class="memitem">
  183. <div class="memproto">
  184. <table class="mlabels">
  185. <tr>
  186. <td class="mlabels-left">
  187. <table class="memname">
  188. <tr>
  189. <td class="memname">int testing::internal::posix::ChDir </td>
  190. <td>(</td>
  191. <td class="paramtype">const char *&#160;</td>
  192. <td class="paramname"><em>dir</em></td><td>)</td>
  193. <td></td>
  194. </tr>
  195. </table>
  196. </td>
  197. <td class="mlabels-right">
  198. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  199. </tr>
  200. </table>
  201. </div><div class="memdoc">
  202. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02347">2347</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  203. </div>
  204. </div>
  205. <a id="a15e5b8f2a535ef1b2529b85b861e4846"></a>
  206. <h2 class="memtitle"><span class="permalink"><a href="#a15e5b8f2a535ef1b2529b85b861e4846">&#9670;&nbsp;</a></span>Close()</h2>
  207. <div class="memitem">
  208. <div class="memproto">
  209. <table class="mlabels">
  210. <tr>
  211. <td class="mlabels-left">
  212. <table class="memname">
  213. <tr>
  214. <td class="memname">int testing::internal::posix::Close </td>
  215. <td>(</td>
  216. <td class="paramtype">int&#160;</td>
  217. <td class="paramname"><em>fd</em></td><td>)</td>
  218. <td></td>
  219. </tr>
  220. </table>
  221. </td>
  222. <td class="mlabels-right">
  223. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  224. </tr>
  225. </table>
  226. </div><div class="memdoc">
  227. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02366">2366</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  228. </div>
  229. </div>
  230. <a id="af4beeaaa8d62916d5e3b644a1ddfbd6b"></a>
  231. <h2 class="memtitle"><span class="permalink"><a href="#af4beeaaa8d62916d5e3b644a1ddfbd6b">&#9670;&nbsp;</a></span>FClose()</h2>
  232. <div class="memitem">
  233. <div class="memproto">
  234. <table class="mlabels">
  235. <tr>
  236. <td class="mlabels-left">
  237. <table class="memname">
  238. <tr>
  239. <td class="memname">int testing::internal::posix::FClose </td>
  240. <td>(</td>
  241. <td class="paramtype">FILE *&#160;</td>
  242. <td class="paramname"><em>fp</em></td><td>)</td>
  243. <td></td>
  244. </tr>
  245. </table>
  246. </td>
  247. <td class="mlabels-right">
  248. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  249. </tr>
  250. </table>
  251. </div><div class="memdoc">
  252. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02358">2358</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  253. </div>
  254. </div>
  255. <a id="af7c268eba32d5a718b36b6b3801302e0"></a>
  256. <h2 class="memtitle"><span class="permalink"><a href="#af7c268eba32d5a718b36b6b3801302e0">&#9670;&nbsp;</a></span>FDOpen()</h2>
  257. <div class="memitem">
  258. <div class="memproto">
  259. <table class="mlabels">
  260. <tr>
  261. <td class="mlabels-left">
  262. <table class="memname">
  263. <tr>
  264. <td class="memname">FILE* testing::internal::posix::FDOpen </td>
  265. <td>(</td>
  266. <td class="paramtype">int&#160;</td>
  267. <td class="paramname"><em>fd</em>, </td>
  268. </tr>
  269. <tr>
  270. <td class="paramkey"></td>
  271. <td></td>
  272. <td class="paramtype">const char *&#160;</td>
  273. <td class="paramname"><em>mode</em>&#160;</td>
  274. </tr>
  275. <tr>
  276. <td></td>
  277. <td>)</td>
  278. <td></td><td></td>
  279. </tr>
  280. </table>
  281. </td>
  282. <td class="mlabels-right">
  283. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  284. </tr>
  285. </table>
  286. </div><div class="memdoc">
  287. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02356">2356</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  288. </div>
  289. </div>
  290. <a id="a3117b067e1f942a2031e666953120ccc"></a>
  291. <h2 class="memtitle"><span class="permalink"><a href="#a3117b067e1f942a2031e666953120ccc">&#9670;&nbsp;</a></span>FileNo()</h2>
  292. <div class="memitem">
  293. <div class="memproto">
  294. <table class="mlabels">
  295. <tr>
  296. <td class="mlabels-left">
  297. <table class="memname">
  298. <tr>
  299. <td class="memname">int testing::internal::posix::FileNo </td>
  300. <td>(</td>
  301. <td class="paramtype">FILE *&#160;</td>
  302. <td class="paramname"><em>file</em></td><td>)</td>
  303. <td></td>
  304. </tr>
  305. </table>
  306. </td>
  307. <td class="mlabels-right">
  308. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  309. </tr>
  310. </table>
  311. </div><div class="memdoc">
  312. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02322">2322</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  313. </div>
  314. </div>
  315. <a id="a4042201dcc4932641d484e7ddf94de7d"></a>
  316. <h2 class="memtitle"><span class="permalink"><a href="#a4042201dcc4932641d484e7ddf94de7d">&#9670;&nbsp;</a></span>FOpen()</h2>
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="mlabels">
  320. <tr>
  321. <td class="mlabels-left">
  322. <table class="memname">
  323. <tr>
  324. <td class="memname">FILE* testing::internal::posix::FOpen </td>
  325. <td>(</td>
  326. <td class="paramtype">const char *&#160;</td>
  327. <td class="paramname"><em>path</em>, </td>
  328. </tr>
  329. <tr>
  330. <td class="paramkey"></td>
  331. <td></td>
  332. <td class="paramtype">const char *&#160;</td>
  333. <td class="paramname"><em>mode</em>&#160;</td>
  334. </tr>
  335. <tr>
  336. <td></td>
  337. <td>)</td>
  338. <td></td><td></td>
  339. </tr>
  340. </table>
  341. </td>
  342. <td class="mlabels-right">
  343. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  344. </tr>
  345. </table>
  346. </div><div class="memdoc">
  347. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02349">2349</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  348. </div>
  349. </div>
  350. <a id="a9ef6d089cdae03f9d9e0e6d379c40703"></a>
  351. <h2 class="memtitle"><span class="permalink"><a href="#a9ef6d089cdae03f9d9e0e6d379c40703">&#9670;&nbsp;</a></span>FReopen()</h2>
  352. <div class="memitem">
  353. <div class="memproto">
  354. <table class="mlabels">
  355. <tr>
  356. <td class="mlabels-left">
  357. <table class="memname">
  358. <tr>
  359. <td class="memname">FILE* testing::internal::posix::FReopen </td>
  360. <td>(</td>
  361. <td class="paramtype">const char *&#160;</td>
  362. <td class="paramname"><em>path</em>, </td>
  363. </tr>
  364. <tr>
  365. <td class="paramkey"></td>
  366. <td></td>
  367. <td class="paramtype">const char *&#160;</td>
  368. <td class="paramname"><em>mode</em>, </td>
  369. </tr>
  370. <tr>
  371. <td class="paramkey"></td>
  372. <td></td>
  373. <td class="paramtype">FILE *&#160;</td>
  374. <td class="paramname"><em>stream</em>&#160;</td>
  375. </tr>
  376. <tr>
  377. <td></td>
  378. <td>)</td>
  379. <td></td><td></td>
  380. </tr>
  381. </table>
  382. </td>
  383. <td class="mlabels-right">
  384. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  385. </tr>
  386. </table>
  387. </div><div class="memdoc">
  388. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02353">2353</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  389. </div>
  390. </div>
  391. <a id="a1d5e3da5a27eed25986859fa83cafe95"></a>
  392. <h2 class="memtitle"><span class="permalink"><a href="#a1d5e3da5a27eed25986859fa83cafe95">&#9670;&nbsp;</a></span>GetEnv()</h2>
  393. <div class="memitem">
  394. <div class="memproto">
  395. <table class="mlabels">
  396. <tr>
  397. <td class="mlabels-left">
  398. <table class="memname">
  399. <tr>
  400. <td class="memname">const char* testing::internal::posix::GetEnv </td>
  401. <td>(</td>
  402. <td class="paramtype">const char *&#160;</td>
  403. <td class="paramname"><em>name</em></td><td>)</td>
  404. <td></td>
  405. </tr>
  406. </table>
  407. </td>
  408. <td class="mlabels-right">
  409. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  410. </tr>
  411. </table>
  412. </div><div class="memdoc">
  413. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02369">2369</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  414. </div>
  415. </div>
  416. <a id="a16ebe936b3a8ea462a94191635aedc27"></a>
  417. <h2 class="memtitle"><span class="permalink"><a href="#a16ebe936b3a8ea462a94191635aedc27">&#9670;&nbsp;</a></span>IsATTY()</h2>
  418. <div class="memitem">
  419. <div class="memproto">
  420. <table class="mlabels">
  421. <tr>
  422. <td class="mlabels-left">
  423. <table class="memname">
  424. <tr>
  425. <td class="memname">int testing::internal::posix::IsATTY </td>
  426. <td>(</td>
  427. <td class="paramtype">int&#160;</td>
  428. <td class="paramname"><em>fd</em></td><td>)</td>
  429. <td></td>
  430. </tr>
  431. </table>
  432. </td>
  433. <td class="mlabels-right">
  434. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  435. </tr>
  436. </table>
  437. </div><div class="memdoc">
  438. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02323">2323</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  439. </div>
  440. </div>
  441. <a id="af0d04ed5baeed28353fa38742748a421"></a>
  442. <h2 class="memtitle"><span class="permalink"><a href="#af0d04ed5baeed28353fa38742748a421">&#9670;&nbsp;</a></span>IsDir()</h2>
  443. <div class="memitem">
  444. <div class="memproto">
  445. <table class="mlabels">
  446. <tr>
  447. <td class="mlabels-left">
  448. <table class="memname">
  449. <tr>
  450. <td class="memname">bool testing::internal::posix::IsDir </td>
  451. <td>(</td>
  452. <td class="paramtype">const <a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8eb9f08d3af29941c2d2a964cfff3ecb">StatStruct</a> &amp;&#160;</td>
  453. <td class="paramname"><em>st</em></td><td>)</td>
  454. <td></td>
  455. </tr>
  456. </table>
  457. </td>
  458. <td class="mlabels-right">
  459. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  460. </tr>
  461. </table>
  462. </div><div class="memdoc">
  463. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02330">2330</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  464. </div>
  465. </div>
  466. <a id="a3c6ab13e581a56f1b02f3eb7536c97fd"></a>
  467. <h2 class="memtitle"><span class="permalink"><a href="#a3c6ab13e581a56f1b02f3eb7536c97fd">&#9670;&nbsp;</a></span>Read()</h2>
  468. <div class="memitem">
  469. <div class="memproto">
  470. <table class="mlabels">
  471. <tr>
  472. <td class="mlabels-left">
  473. <table class="memname">
  474. <tr>
  475. <td class="memname">int testing::internal::posix::Read </td>
  476. <td>(</td>
  477. <td class="paramtype">int&#160;</td>
  478. <td class="paramname"><em>fd</em>, </td>
  479. </tr>
  480. <tr>
  481. <td class="paramkey"></td>
  482. <td></td>
  483. <td class="paramtype">void *&#160;</td>
  484. <td class="paramname"><em>buf</em>, </td>
  485. </tr>
  486. <tr>
  487. <td class="paramkey"></td>
  488. <td></td>
  489. <td class="paramtype">unsigned int&#160;</td>
  490. <td class="paramname"><em>count</em>&#160;</td>
  491. </tr>
  492. <tr>
  493. <td></td>
  494. <td>)</td>
  495. <td></td><td></td>
  496. </tr>
  497. </table>
  498. </td>
  499. <td class="mlabels-right">
  500. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  501. </tr>
  502. </table>
  503. </div><div class="memdoc">
  504. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02360">2360</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  505. </div>
  506. </div>
  507. <a id="acbad5d4ea5b73fd1765f5f760642932a"></a>
  508. <h2 class="memtitle"><span class="permalink"><a href="#acbad5d4ea5b73fd1765f5f760642932a">&#9670;&nbsp;</a></span>RmDir()</h2>
  509. <div class="memitem">
  510. <div class="memproto">
  511. <table class="mlabels">
  512. <tr>
  513. <td class="mlabels-left">
  514. <table class="memname">
  515. <tr>
  516. <td class="memname">int testing::internal::posix::RmDir </td>
  517. <td>(</td>
  518. <td class="paramtype">const char *&#160;</td>
  519. <td class="paramname"><em>dir</em></td><td>)</td>
  520. <td></td>
  521. </tr>
  522. </table>
  523. </td>
  524. <td class="mlabels-right">
  525. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  526. </tr>
  527. </table>
  528. </div><div class="memdoc">
  529. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02329">2329</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  530. </div>
  531. </div>
  532. <a id="a2b87b7ff647a128614daf50667eb9304"></a>
  533. <h2 class="memtitle"><span class="permalink"><a href="#a2b87b7ff647a128614daf50667eb9304">&#9670;&nbsp;</a></span>Stat()</h2>
  534. <div class="memitem">
  535. <div class="memproto">
  536. <table class="mlabels">
  537. <tr>
  538. <td class="mlabels-left">
  539. <table class="memname">
  540. <tr>
  541. <td class="memname">int testing::internal::posix::Stat </td>
  542. <td>(</td>
  543. <td class="paramtype">const char *&#160;</td>
  544. <td class="paramname"><em>path</em>, </td>
  545. </tr>
  546. <tr>
  547. <td class="paramkey"></td>
  548. <td></td>
  549. <td class="paramtype"><a class="el" href="namespacetesting_1_1internal_1_1posix.html#a8eb9f08d3af29941c2d2a964cfff3ecb">StatStruct</a> *&#160;</td>
  550. <td class="paramname"><em>buf</em>&#160;</td>
  551. </tr>
  552. <tr>
  553. <td></td>
  554. <td>)</td>
  555. <td></td><td></td>
  556. </tr>
  557. </table>
  558. </td>
  559. <td class="mlabels-right">
  560. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  561. </tr>
  562. </table>
  563. </div><div class="memdoc">
  564. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02324">2324</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  565. </div>
  566. </div>
  567. <a id="a1ef2385a7f8e4c706054da35967e76bd"></a>
  568. <h2 class="memtitle"><span class="permalink"><a href="#a1ef2385a7f8e4c706054da35967e76bd">&#9670;&nbsp;</a></span>StrCaseCmp()</h2>
  569. <div class="memitem">
  570. <div class="memproto">
  571. <table class="mlabels">
  572. <tr>
  573. <td class="mlabels-left">
  574. <table class="memname">
  575. <tr>
  576. <td class="memname">int testing::internal::posix::StrCaseCmp </td>
  577. <td>(</td>
  578. <td class="paramtype">const char *&#160;</td>
  579. <td class="paramname"><em>s1</em>, </td>
  580. </tr>
  581. <tr>
  582. <td class="paramkey"></td>
  583. <td></td>
  584. <td class="paramtype">const char *&#160;</td>
  585. <td class="paramname"><em>s2</em>&#160;</td>
  586. </tr>
  587. <tr>
  588. <td></td>
  589. <td>)</td>
  590. <td></td><td></td>
  591. </tr>
  592. </table>
  593. </td>
  594. <td class="mlabels-right">
  595. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  596. </tr>
  597. </table>
  598. </div><div class="memdoc">
  599. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02325">2325</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  600. </div>
  601. </div>
  602. <a id="a8e352884793a65ae8be144676f1a9136"></a>
  603. <h2 class="memtitle"><span class="permalink"><a href="#a8e352884793a65ae8be144676f1a9136">&#9670;&nbsp;</a></span>StrDup()</h2>
  604. <div class="memitem">
  605. <div class="memproto">
  606. <table class="mlabels">
  607. <tr>
  608. <td class="mlabels-left">
  609. <table class="memname">
  610. <tr>
  611. <td class="memname">char* testing::internal::posix::StrDup </td>
  612. <td>(</td>
  613. <td class="paramtype">const char *&#160;</td>
  614. <td class="paramname"><em>src</em></td><td>)</td>
  615. <td></td>
  616. </tr>
  617. </table>
  618. </td>
  619. <td class="mlabels-right">
  620. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  621. </tr>
  622. </table>
  623. </div><div class="memdoc">
  624. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02328">2328</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  625. </div>
  626. </div>
  627. <a id="a4b77b14af6f4d18f83d303b98e9349c4"></a>
  628. <h2 class="memtitle"><span class="permalink"><a href="#a4b77b14af6f4d18f83d303b98e9349c4">&#9670;&nbsp;</a></span>StrError()</h2>
  629. <div class="memitem">
  630. <div class="memproto">
  631. <table class="mlabels">
  632. <tr>
  633. <td class="mlabels-left">
  634. <table class="memname">
  635. <tr>
  636. <td class="memname">const char* testing::internal::posix::StrError </td>
  637. <td>(</td>
  638. <td class="paramtype">int&#160;</td>
  639. <td class="paramname"><em>errnum</em></td><td>)</td>
  640. <td></td>
  641. </tr>
  642. </table>
  643. </td>
  644. <td class="mlabels-right">
  645. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  646. </tr>
  647. </table>
  648. </div><div class="memdoc">
  649. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02367">2367</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  650. </div>
  651. </div>
  652. <a id="a36fca815713332e5c6dc92c98b6b2574"></a>
  653. <h2 class="memtitle"><span class="permalink"><a href="#a36fca815713332e5c6dc92c98b6b2574">&#9670;&nbsp;</a></span>StrNCpy()</h2>
  654. <div class="memitem">
  655. <div class="memproto">
  656. <table class="mlabels">
  657. <tr>
  658. <td class="mlabels-left">
  659. <table class="memname">
  660. <tr>
  661. <td class="memname">const char* testing::internal::posix::StrNCpy </td>
  662. <td>(</td>
  663. <td class="paramtype">char *&#160;</td>
  664. <td class="paramname"><em>dest</em>, </td>
  665. </tr>
  666. <tr>
  667. <td class="paramkey"></td>
  668. <td></td>
  669. <td class="paramtype">const char *&#160;</td>
  670. <td class="paramname"><em>src</em>, </td>
  671. </tr>
  672. <tr>
  673. <td class="paramkey"></td>
  674. <td></td>
  675. <td class="paramtype">size_t&#160;</td>
  676. <td class="paramname"><em>n</em>&#160;</td>
  677. </tr>
  678. <tr>
  679. <td></td>
  680. <td>)</td>
  681. <td></td><td></td>
  682. </tr>
  683. </table>
  684. </td>
  685. <td class="mlabels-right">
  686. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  687. </tr>
  688. </table>
  689. </div><div class="memdoc">
  690. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02338">2338</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  691. </div>
  692. </div>
  693. <a id="af4acf9f78d55f815a18b43786511abef"></a>
  694. <h2 class="memtitle"><span class="permalink"><a href="#af4acf9f78d55f815a18b43786511abef">&#9670;&nbsp;</a></span>Write()</h2>
  695. <div class="memitem">
  696. <div class="memproto">
  697. <table class="mlabels">
  698. <tr>
  699. <td class="mlabels-left">
  700. <table class="memname">
  701. <tr>
  702. <td class="memname">int testing::internal::posix::Write </td>
  703. <td>(</td>
  704. <td class="paramtype">int&#160;</td>
  705. <td class="paramname"><em>fd</em>, </td>
  706. </tr>
  707. <tr>
  708. <td class="paramkey"></td>
  709. <td></td>
  710. <td class="paramtype">const void *&#160;</td>
  711. <td class="paramname"><em>buf</em>, </td>
  712. </tr>
  713. <tr>
  714. <td class="paramkey"></td>
  715. <td></td>
  716. <td class="paramtype">unsigned int&#160;</td>
  717. <td class="paramname"><em>count</em>&#160;</td>
  718. </tr>
  719. <tr>
  720. <td></td>
  721. <td>)</td>
  722. <td></td><td></td>
  723. </tr>
  724. </table>
  725. </td>
  726. <td class="mlabels-right">
  727. <span class="mlabels"><span class="mlabel">inline</span></span> </td>
  728. </tr>
  729. </table>
  730. </div><div class="memdoc">
  731. <p class="definition">Definition at line <a class="el" href="gtest_8h_source.html#l02363">2363</a> of file <a class="el" href="gtest_8h_source.html">gtest.h</a>.</p>
  732. </div>
  733. </div>
  734. </div><!-- contents -->
  735. </div><!-- doc-content -->
  736. <!-- start footer part -->
  737. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  738. <ul>
  739. <li class="navelem"><a class="el" href="namespacetesting.html">testing</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="namespacetesting_1_1internal_1_1posix.html">posix</a></li>
  740. <li class="footer">Generated by
  741. <a href="http://www.doxygen.org/index.html">
  742. <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
  743. </ul>
  744. </div>
  745. </body>
  746. </html>