http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp.html
 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp.html
new file mode 100644
index 0000000..4c5c3e5
--- /dev/null
+++ 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp.html
@@ -0,0 +1,83 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/posix/environment.hpp 
File Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li 
class="navelem"><a class="el" 
href="dir_9a6d2c82450779b96177e4cabddb051e.html">posix</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#func-members">Functions</a>  </div>
+  <div class="headertitle">
+<div class="title">environment.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;map&gt;</code><br/>
+<code>#include &lt;string&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_source.html">stout/os/raw/environment.hpp</a>&gt;</code><br/>
+</div>
+<p><a 
href="3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp_source.html">Go
 to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceos"><td class="memItemLeft" align="right" 
valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceos.html">os</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:a00a73ff5de812b0d6e1ffbbb16fc1f27"><td class="memItemLeft" 
align="right" valign="top">std::map&lt; std::string, <br class="typebreak"/>
+std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a 
class="el" 
href="namespaceos.html#a00a73ff5de812b0d6e1ffbbb16fc1f27">os::environment</a> 
()</td></tr>
+<tr class="separator:a00a73ff5de812b0d6e1ffbbb16fc1f27"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp_source.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp_source.html
 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp_source.html
new file mode 100644
index 0000000..170126d
--- /dev/null
+++ 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp_source.html
@@ -0,0 +1,112 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/posix/environment.hpp 
Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li 
class="navelem"><a class="el" 
href="dir_9a6d2c82450779b96177e4cabddb051e.html">posix</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">environment.hpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="3rdparty_2stout_2include_2stout_2os_2posix_2environment_8hpp.html">Go 
to the documentation of this file.</a><div class="fragment"><div 
class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span 
class="comment">// Licensed under the Apache License, Version 2.0 (the 
&quot;License&quot;);</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    
2</span>&#160;<span class="comment">// you may not use this file except in 
compliance with the License.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    
3</span>&#160;<span class="comment">// You may obtain a copy of the License 
at</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    
4</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    
5</span>&#160;<span class="comment">//  
http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    
6</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    
7</span>&#160;<span class="comment">// Unless required by applicable law or 
agreed to in writing, software</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    
8</span>&#160;<span class="comment">// distributed under the License is 
distributed on an &quot;AS IS&quot; BASIS,</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    
9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY 
KIND, either express or implied.</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   
10</span>&#160;<span class="comment">// See the License for the specific 
language governing permissions and</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   
11</span>&#160;<span class="comment">// limitations under the 
License.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   
12</span>&#160;</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   
13</span>&#160;<span class="preprocessor">#ifndef 
__STOUT_OS_POSIX_ENVIRONMENT_HPP__</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   
14</span>&#160;<span class="preprocessor"></span><span 
class="preprocessor">#define __STOUT_OS_POSIX_ENVIRONMENT_HPP__</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   
15</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   
16</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   
17</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   
18</span>&#160;</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   
19</span>&#160;<span class="preprocessor">#include &lt;<a class="code" 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html">stout/os/raw/environment.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   
20</span>&#160;</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   
21</span>&#160;</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   
22</span>&#160;<span class="keyword">namespace </span>os {</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   
23</span>&#160;</div>
+<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" 
href="namespaceos.html#a00a73ff5de812b0d6e1ffbbb16fc1f27">   
24</a></span>&#160;<span class="keyword">inline</span> std::map&lt;std::string, 
std::string&gt; <a class="code" 
href="namespaceos.html#a00a73ff5de812b0d6e1ffbbb16fc1f27">environment</a>()</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   
25</span>&#160;{</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160; 
 <span class="keywordtype">char</span>** env = <a class="code" 
href="namespaceos_1_1raw.html#aad2bd3acb3ca09c75a1a1db58075f9f4">os::raw::environment</a>();</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   
27</span>&#160;</div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; 
 std::map&lt;std::string, std::string&gt; result;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   
29</span>&#160;</div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160; 
 <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> 
<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>
 = 0; env[<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>]
 != <span class="keyword">nullptr</span>; <a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>++)
 {</div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; 
   std::string entry(env[<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>]);</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; 
   <span class="keywordtype">size_t</span> position = entry.find_first_of(<span 
class="charliteral">&#39;=&#39;</span>);</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; 
   <span class="keywordflow">if</span> (position == std::string::npos) {</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; 
     <span class="keywordflow">continue</span>; <span class="comment">// Skip 
malformed environment entries.</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; 
   }</div>
+<div class="line"><a name="l00036"></a><span class="lineno">   
36</span>&#160;</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160; 
   result[entry.substr(0, position)] = entry.substr(position + 1);</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; 
 }</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   
39</span>&#160;</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; 
 <span class="keywordflow">return</span> result;</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   
41</span>&#160;}</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   
42</span>&#160;</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   
43</span>&#160;} <span class="comment">// namespace os {</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   
44</span>&#160;</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   
45</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_POSIX_ENVIRONMENT_HPP__</span></div>
+<div class="ttc" 
id="namespacerouting_1_1link_html_a26486cdba01ef1c80706b1e07e8a6d3f"><div 
class="ttname"><a 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">routing::link::index</a></div><div
 class="ttdeci">Result&lt; int &gt; index(const std::string 
&amp;link)</div></div>
+<div class="ttc" id="namespaceos_html_a00a73ff5de812b0d6e1ffbbb16fc1f27"><div 
class="ttname"><a 
href="namespaceos.html#a00a73ff5de812b0d6e1ffbbb16fc1f27">os::environment</a></div><div
 class="ttdeci">std::map&lt; std::string, std::string &gt; 
environment()</div><div class="ttdef"><b>Definition:</b> 
environment.hpp:24</div></div>
+<div class="ttc" 
id="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_html"><div 
class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html">environment.hpp</a></div></div>
+<div class="ttc" 
id="namespaceos_1_1raw_html_aad2bd3acb3ca09c75a1a1db58075f9f4"><div 
class="ttname"><a 
href="namespaceos_1_1raw.html#aad2bd3acb3ca09c75a1a1db58075f9f4">os::raw::environment</a></div><div
 class="ttdeci">char ** environment()</div><div 
class="ttdef"><b>Definition:</b> environment.hpp:66</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp.html
 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp.html
new file mode 100644
index 0000000..18aa1d4
--- /dev/null
+++ 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp.html
@@ -0,0 +1,75 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/posix/read.hpp File 
Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li 
class="navelem"><a class="el" 
href="dir_9a6d2c82450779b96177e4cabddb051e.html">posix</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#namespaces">Namespaces</a>  </div>
+  <div class="headertitle">
+<div class="title">read.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;errno.h&gt;</code><br/>
+<code>#include &lt;unistd.h&gt;</code><br/>
+</div>
+<p><a 
href="3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp_source.html">Go to 
the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceos"><td class="memItemLeft" align="right" 
valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceos.html">os</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp_source.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp_source.html
 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp_source.html
new file mode 100644
index 0000000..9bbffce
--- /dev/null
+++ 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp_source.html
@@ -0,0 +1,93 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/posix/read.hpp Source 
File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li 
class="navelem"><a class="el" 
href="dir_9a6d2c82450779b96177e4cabddb051e.html">posix</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">read.hpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp.html">Go to the 
documentation of this file.</a><div class="fragment"><div class="line"><a 
name="l00001"></a><span class="lineno">    1</span>&#160;<span 
class="comment">// Licensed under the Apache License, Version 2.0 (the 
&quot;License&quot;);</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    
2</span>&#160;<span class="comment">// you may not use this file except in 
compliance with the License.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    
3</span>&#160;<span class="comment">// You may obtain a copy of the License 
at</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    
4</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    
5</span>&#160;<span class="comment">//  
http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    
6</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    
7</span>&#160;<span class="comment">// Unless required by applicable law or 
agreed to in writing, software</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    
8</span>&#160;<span class="comment">// distributed under the License is 
distributed on an &quot;AS IS&quot; BASIS,</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    
9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY 
KIND, either express or implied.</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   
10</span>&#160;<span class="comment">// See the License for the specific 
language governing permissions and</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   
11</span>&#160;<span class="comment">// limitations under the 
License.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   
12</span>&#160;</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   
13</span>&#160;<span class="preprocessor">#ifndef 
__STOUT_OS_POSIX_READ_HPP__</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   
14</span>&#160;<span class="preprocessor"></span><span 
class="preprocessor">#define __STOUT_OS_POSIX_READ_HPP__</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   
15</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   
16</span>&#160;<span class="preprocessor">#include &lt;errno.h&gt;</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   
17</span>&#160;<span class="preprocessor">#include &lt;unistd.h&gt;</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   
18</span>&#160;</div>
+<div class="line"><a name="l00019"></a><span class="lineno">   
19</span>&#160;</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   
20</span>&#160;<span class="keyword">namespace </span>os {</div>
+<div class="line"><a name="l00021"></a><span class="lineno">   
21</span>&#160;</div>
+<div class="line"><a name="l00022"></a><span class="lineno">   
22</span>&#160;<span class="comment">// Compatibility function. On POSIX, this 
function is trivial, but on Windows,</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   
23</span>&#160;<span class="comment">// we have to check whether the file 
descriptor is a socket or a file to read</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   
24</span>&#160;<span class="comment">// from it.</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   
25</span>&#160;<a class="code" 
href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">using
 ::read</a>;</div>
+<div class="line"><a name="l00026"></a><span class="lineno">   
26</span>&#160;</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   
27</span>&#160;} <span class="comment">// namespace os {</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   
28</span>&#160;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   
29</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_POSIX_READ_HPP__</span></div>
+<div class="ttc" 
id="namespacemesos_1_1internal_1_1credentials_html_a137c93d60149616181a10e9f39986f7f"><div
 class="ttname"><a 
href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">mesos::internal::credentials::read</a></div><div
 class="ttdeci">Result&lt; Credentials &gt; read(const Path 
&amp;path)</div><div class="ttdef"><b>Definition:</b> 
credentials.hpp:35</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html
 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html
new file mode 100644
index 0000000..8c9adf9
--- /dev/null
+++ 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/raw/environment.hpp File 
Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li 
class="navelem"><a class="el" 
href="dir_4a47decfb1a7982441c36e7927b08283.html">raw</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#nested-classes">Classes</a> &#124;
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#func-members">Functions</a> &#124;
+<a href="#var-members">Variables</a>  </div>
+  <div class="headertitle">
+<div class="title">environment.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;string.h&gt;</code><br/>
+<code>#include &lt;string&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="foreach_8hpp_source.html">stout/foreach.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="json_8hpp_source.html">stout/json.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="stringify_8hpp_source.html">stout/stringify.hpp</a>&gt;</code><br/>
+</div>
+<p><a 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_source.html">Go
 to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="nested-classes"></a>
+Classes</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class 
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="classos_1_1raw_1_1Envp.html">os::raw::Envp</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceos"><td class="memItemLeft" align="right" 
valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceos.html">os</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:namespaceos_1_1raw"><td class="memItemLeft" align="right" 
valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceos_1_1raw.html">os::raw</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:aad2bd3acb3ca09c75a1a1db58075f9f4"><td class="memItemLeft" 
align="right" valign="top">char **&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="namespaceos_1_1raw.html#aad2bd3acb3ca09c75a1a1db58075f9f4">os::raw::environment</a>
 ()</td></tr>
+<tr class="separator:aad2bd3acb3ca09c75a1a1db58075f9f4"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a255f9fd6996adf47571d24586f9ba8fe"><td class="memItemLeft" 
align="right" valign="top">char ***&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="namespaceos_1_1raw.html#a255f9fd6996adf47571d24586f9ba8fe">os::raw::environmentp</a>
 ()</td></tr>
+<tr class="separator:a255f9fd6996adf47571d24586f9ba8fe"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="var-members"></a>
+Variables</h2></td></tr>
+<tr class="memitem:aa006daaf11f1e2e45a6ababaf463212b"><td class="memItemLeft" 
align="right" valign="top">char **&#160;</td><td class="memItemRight" 
valign="bottom"><a class="el" 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html#aa006daaf11f1e2e45a6ababaf463212b">environ</a></td></tr>
+<tr class="separator:aa006daaf11f1e2e45a6ababaf463212b"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+<h2 class="groupheader">Variable Documentation</h2>
+<a class="anchor" id="aa006daaf11f1e2e45a6ababaf463212b"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">char** environ</td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+
+</div>
+</div>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_source.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_source.html
 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_source.html
new file mode 100644
index 0000000..0e3d1a4
--- /dev/null
+++ 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_source.html
@@ -0,0 +1,278 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/raw/environment.hpp 
Source File</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li><li 
class="navelem"><a class="el" 
href="dir_4a47decfb1a7982441c36e7927b08283.html">raw</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">environment.hpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html">Go 
to the documentation of this file.</a><div class="fragment"><div 
class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span 
class="comment">// Licensed under the Apache License, Version 2.0 (the 
&quot;License&quot;);</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    
2</span>&#160;<span class="comment">// you may not use this file except in 
compliance with the License.</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    
3</span>&#160;<span class="comment">// You may obtain a copy of the License 
at</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    
4</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    
5</span>&#160;<span class="comment">//  
http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    
6</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    
7</span>&#160;<span class="comment">// Unless required by applicable law or 
agreed to in writing, software</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    
8</span>&#160;<span class="comment">// distributed under the License is 
distributed on an &quot;AS IS&quot; BASIS,</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    
9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY 
KIND, either express or implied.</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   
10</span>&#160;<span class="comment">// See the License for the specific 
language governing permissions and</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   
11</span>&#160;<span class="comment">// limitations under the 
License.</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   
12</span>&#160;</div>
+<div class="line"><a name="l00013"></a><span class="lineno">   
13</span>&#160;<span class="preprocessor">#ifndef 
__STOUT_OS_RAW_ENVIRONMENT_HPP__</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   
14</span>&#160;<span class="preprocessor"></span><span 
class="preprocessor">#define __STOUT_OS_RAW_ENVIRONMENT_HPP__</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   
15</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   
16</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno">   
17</span>&#160;</div>
+<div class="line"><a name="l00018"></a><span class="lineno">   
18</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   
19</span>&#160;</div>
+<div class="line"><a name="l00020"></a><span class="lineno">   
20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" 
href="foreach_8hpp.html">stout/foreach.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   
21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" 
href="json_8hpp.html">stout/json.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   
22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" 
href="stringify_8hpp.html">stout/stringify.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00023"></a><span class="lineno">   
23</span>&#160;</div>
+<div class="line"><a name="l00024"></a><span class="lineno">   
24</span>&#160;<span class="preprocessor">#ifdef __APPLE__</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   
25</span>&#160;<span class="preprocessor"></span><span 
class="preprocessor">#include &lt;crt_externs.h&gt;</span> <span 
class="comment">// For _NSGetEnviron().</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   
26</span>&#160;<span class="preprocessor">#elif 
!defined(__WINDOWS__)</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   
27</span>&#160;<span class="preprocessor"></span><span class="comment">// Need 
to declare &#39;environ&#39; pointer for platforms that are not OS X or 
Windows.</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   
28</span>&#160;<span class="keyword">extern</span> <span 
class="keywordtype">char</span>** <a class="code" 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html#aa006daaf11f1e2e45a6ababaf463212b">environ</a>;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   
29</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   
30</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   
31</span>&#160;</div>
+<div class="line"><a name="l00032"></a><span class="lineno">   
32</span>&#160;<span class="comment">// NOTE: The raw environment functions 
have been removed from the Windows API</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   
33</span>&#160;<span class="comment">// because the CRT `environ` macro should 
never be used:</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   
34</span>&#160;<span class="comment">//   (1) The CRT APIs (like `environ`) are 
extremely old and essentially</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   
35</span>&#160;<span class="comment">//       unmaintained; it is virtually 
always preferable to use the equivalent</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   
36</span>&#160;<span class="comment">//       Win32 APIs (such as 
`GetEnvironmentStrings`).</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno">   
37</span>&#160;<span class="comment">//   (2) `environ` is not at all 
compatible with the Win32 APIs; if you</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   
38</span>&#160;<span class="comment">//       `SetEnvironmentVariable`, it will 
not appear in `environ`.</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   
39</span>&#160;<span class="comment">//   (3) The CRT APIs implemented around 
`environ` (i.e., `setenv`, `getenv`)</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   
40</span>&#160;<span class="comment">//       have significant differences from 
almost all POSIX implementations.</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   
41</span>&#160;<span class="comment">//       For example, calling `setenv` 
with a blank string as the value will</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   
42</span>&#160;<span class="comment">//       delete the environment variable 
on Windows, but not on POSIX.</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   
43</span>&#160;<span class="comment">//   (4) It is ungainly to implement the 
`char**` return using the Win32 APIs;</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   
44</span>&#160;<span class="comment">//       since `GetEnvironmentStrings` 
returns a completely different type,</span></div>
+<div class="line"><a name="l00045"></a><span class="lineno">   
45</span>&#160;<span class="comment">//       we&#39;d have to allocate a 
char** environment statically, or manage</span></div>
+<div class="line"><a name="l00046"></a><span class="lineno">   
46</span>&#160;<span class="comment">//       allocation semantics of the 
`char**` differently across Unix and</span></div>
+<div class="line"><a name="l00047"></a><span class="lineno">   
47</span>&#160;<span class="comment">//       Windows.</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno">   
48</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00049"></a><span class="lineno">   
49</span>&#160;<span class="comment">// NOTE: the `os::raw` namespace contains 
a family of simple wrapper functions</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   
50</span>&#160;<span class="comment">// for getting environment data from Unix 
machines. For example,</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   
51</span>&#160;<span class="comment">// `os::raw::environment` returns an 
&quot;unstructured&quot; `char**` that contains the</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   
52</span>&#160;<span class="comment">// raw environment variables of the 
executing process. Accessing &quot;structured&quot;</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   
53</span>&#160;<span class="comment">// version of this function, 
`os::environment`, returns a `map&lt;string, string&gt;`</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   
54</span>&#160;<span class="comment">// instead. This family of functions 
exists in the `os::raw` namespace because</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   
55</span>&#160;<span class="comment">// of the unstructured nature of their 
return values.</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   
56</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno">   
57</span>&#160;<span class="comment">// NOTE: These functions were originally 
called `environment` and not `environ`</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno">   
58</span>&#160;<span class="comment">// because on Windows, `environ` is a 
macro, and not an `extern char**` as it</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   
59</span>&#160;<span class="comment">// is in the POSIX standard. The existance 
of this macro on Windows makes it</span></div>
+<div class="line"><a name="l00060"></a><span class="lineno">   
60</span>&#160;<span class="comment">// impossible to use a function called 
`os::environ`.</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno">   
61</span>&#160;<span class="keyword">namespace </span>os {</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   
62</span>&#160;<span class="keyword">namespace </span>raw {</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   
63</span>&#160;</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   
64</span>&#160;<span class="comment">// NOTE: It is important this remain 
disabled on Windows. See first note above.</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   
65</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div>
+<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" 
href="namespaceos_1_1raw.html#aad2bd3acb3ca09c75a1a1db58075f9f4">   
66</a></span>&#160;<span class="preprocessor"></span><span 
class="keyword">inline</span> <span class="keywordtype">char</span>** <a 
class="code" 
href="namespaceos_1_1raw.html#aad2bd3acb3ca09c75a1a1db58075f9f4">environment</a>()</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   
67</span>&#160;{</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160; 
 <span class="comment">// Accessing the list of environment variables is 
platform-specific.</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; 
 <span class="comment">// On OS X, the &#39;environ&#39; symbol isn&#39;t 
visible to shared libraries,</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; 
 <span class="comment">// so we must use the _NSGetEnviron() function (see 
&#39;man environ&#39; on</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; 
 <span class="comment">// OS X). On other platforms, it&#39;s fine to access 
&#39;environ&#39; from</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; 
 <span class="comment">// shared libraries.</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno">   
73</span>&#160;<span class="preprocessor">#ifdef __APPLE__</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno">   
74</span>&#160;<span class="preprocessor"></span>  <span 
class="keywordflow">return</span> *_NSGetEnviron();</div>
+<div class="line"><a name="l00075"></a><span class="lineno">   
75</span>&#160;<span class="preprocessor">#else</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   
76</span>&#160;<span class="preprocessor"></span>  <span class="comment">// 
NOTE: the correct style for this expression would be `::environ`, but 
we</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160; 
 <span class="comment">// leave it out because `environ` is a macro on Windows, 
and the `::` will</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; 
 <span class="comment">// break the build.</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160; 
 <span class="keywordflow">return</span> <a class="code" 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html#aa006daaf11f1e2e45a6ababaf463212b">environ</a>;</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   
80</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   
81</span>&#160;<span class="preprocessor"></span>}</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   
82</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   
83</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   
84</span>&#160;</div>
+<div class="line"><a name="l00085"></a><span class="lineno">   
85</span>&#160;<span class="comment">// Returns the address of 
os::environment().</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   
86</span>&#160;<span class="comment">// NOTE: It is important this remain 
disabled on Windows. See first note above.</span></div>
+<div class="line"><a name="l00087"></a><span class="lineno">   
87</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" 
href="namespaceos_1_1raw.html#a255f9fd6996adf47571d24586f9ba8fe">   
88</a></span>&#160;<span class="preprocessor"></span><span 
class="keyword">inline</span> <span class="keywordtype">char</span>*** <a 
class="code" 
href="namespaceos_1_1raw.html#a255f9fd6996adf47571d24586f9ba8fe">environmentp</a>()</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   
89</span>&#160;{</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; 
 <span class="comment">// Accessing the list of environment variables is 
platform-specific.</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; 
 <span class="comment">// On OS X, the &#39;environ&#39; symbol isn&#39;t 
visible to shared libraries,</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160; 
 <span class="comment">// so we must use the _NSGetEnviron() function (see 
&#39;man environ&#39; on</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160; 
 <span class="comment">// OS X). On other platforms, it&#39;s fine to access 
&#39;environ&#39; from</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; 
 <span class="comment">// shared libraries.</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno">   
95</span>&#160;<span class="preprocessor">#ifdef __APPLE__</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   
96</span>&#160;<span class="preprocessor"></span>  <span 
class="keywordflow">return</span> _NSGetEnviron();</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   
97</span>&#160;<span class="preprocessor">#else</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno">   
98</span>&#160;<span class="preprocessor"></span>  <span class="comment">// 
NOTE: the correct style for this expression would be `environ`, but 
we</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; 
 <span class="comment">// leave it out because `environ` is a macro on Windows, 
and the `::` will</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; 
 <span class="comment">// break the build.</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; 
 <span class="keywordflow">return</span> &amp;<a class="code" 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html#aa006daaf11f1e2e45a6ababaf463212b">environ</a>;</div>
+<div class="line"><a name="l00102"></a><span class="lineno">  
102</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  
103</span>&#160;<span class="preprocessor"></span>}</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  
104</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  
105</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  
106</span>&#160;</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  
107</span>&#160;<span class="comment">// Represents the environment variable 
list expected by &#39;exec&#39;</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno">  
108</span>&#160;<span class="comment">// routines. The environment variable 
list is an array of pointers</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno">  
109</span>&#160;<span class="comment">// that point to null-terminated strings. 
The array of pointers must</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  
110</span>&#160;<span class="comment">// be terminated by a nullptr. To use 
this abstraction, see the</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno">  
111</span>&#160;<span class="comment">// following example:</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno">  
112</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno">  
113</span>&#160;<span class="comment">//   map&lt;string, string&gt; 
environment = {</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno">  
114</span>&#160;<span class="comment">//     {&quot;key1&quot;, 
&quot;value1&quot;},</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno">  
115</span>&#160;<span class="comment">//     {&quot;key2&quot;, 
&quot;value2&quot;}</span></div>
+<div class="line"><a name="l00116"></a><span class="lineno">  
116</span>&#160;<span class="comment">//   };</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno">  
117</span>&#160;<span class="comment">//   os::raw::Envp 
envp(environment);</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  
118</span>&#160;<span class="comment">//   execle(&quot;/bin/sh&quot;, 
&quot;sh&quot;, &quot;-c&quot;, &quot;echo hello&quot;, envp);</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" 
href="classos_1_1raw_1_1Envp.html">  119</a></span>&#160;<span 
class="keyword">class </span><a class="code" 
href="classos_1_1raw_1_1Envp.html">Envp</a></div>
+<div class="line"><a name="l00120"></a><span class="lineno">  
120</span>&#160;{</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  
121</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" 
href="classos_1_1raw_1_1Envp.html#ade95b03756bcee62904337357ddaeee3">  
122</a></span>&#160;  <a class="code" 
href="classos_1_1raw_1_1Envp.html#ade95b03756bcee62904337357ddaeee3">Envp</a>(<a
 class="code" href="classos_1_1raw_1_1Envp.html">Envp</a>&amp;&amp; that)</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160; 
   : envp(that.envp),</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; 
     size(that.size)</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; 
 {</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; 
   that.envp = <span class="keyword">nullptr</span>;</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; 
   that.size = 0;</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; 
 }</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  
129</span>&#160;</div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; 
 <span class="keyword">template</span> &lt;<span 
class="keyword">typename</span> Map&gt;</div>
+<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" 
href="classos_1_1raw_1_1Envp.html#a190fc8106950a6e562fc9acca51b0844">  
131</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" 
href="classos_1_1raw_1_1Envp.html#a190fc8106950a6e562fc9acca51b0844">Envp</a>(<span
 class="keyword">const</span> Map&amp; map)</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; 
 {</div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160; 
   size = map.size();</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  
134</span>&#160;</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160; 
   <span class="comment">// NOTE: We add 1 to the size for a `nullptr` 
terminator.</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160; 
   envp = <span class="keyword">new</span> <span 
class="keywordtype">char</span>*[size + 1];</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; 
   <span class="keywordtype">size_t</span> <a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>
 = 0;</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  
138</span>&#160;</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160; 
   <span class="keywordflow">for</span> (<span class="keyword">auto</span> it = 
map.begin(); it != map.end(); ++it) {</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; 
     std::string entry = <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(it-&gt;first)
 + <span class="stringliteral">&quot;=&quot;</span> + <a class="code" 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(it-&gt;second);</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160; 
     envp[<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>]
 = <span class="keyword">new</span> <span 
class="keywordtype">char</span>[entry.size() + 1];</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160; 
     ::memcpy(envp[index], entry.c_str(), entry.size() + 1);</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; 
     ++<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>;</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160; 
   }</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  
145</span>&#160;</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160; 
   envp[<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>]
 = <span class="keyword">nullptr</span>;</div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; 
 }</div>
+<div class="line"><a name="l00148"></a><span class="lineno">  
148</span>&#160;</div>
+<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" 
href="classos_1_1raw_1_1Envp.html#adff3c86f4cc4cc59a05e99e390a2ca36">  
149</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" 
href="classos_1_1raw_1_1Envp.html#adff3c86f4cc4cc59a05e99e390a2ca36">Envp</a>(<span
 class="keyword">const</span> <a class="code" 
href="structJSON_1_1Object.html">JSON::Object</a>&amp; <span 
class="keywordtype">object</span>)</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160; 
 {</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; 
   size = <span class="keywordtype">object</span>.values.size();</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  
152</span>&#160;</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160; 
   <span class="comment">// NOTE: We add 1 to the size for a `nullptr` 
terminator.</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; 
   envp = <span class="keyword">new</span> <span 
class="keywordtype">char</span>*[size + 1];</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160; 
   <span class="keywordtype">size_t</span> <a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>
 = 0;</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  
156</span>&#160;</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; 
   <a class="code" 
href="foreach_8hpp.html#a66900b166526abe66464d6597536b111">foreachpair</a> 
(<span class="keyword">const</span> std::string&amp; key,</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160; 
                <span class="keyword">const</span> <a class="code" 
href="structJSON_1_1Value.html">JSON::Value</a>&amp; value,</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; 
                <span class="keywordtype">object</span>.values) {</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; 
     std::string entry = key + <span class="stringliteral">&quot;=&quot;</span> 
+ value.<a class="code" 
href="structJSON_1_1Value.html#a32ddf233c0ec159c4d72252529219cf6">as</a>&lt;<a 
class="code" 
href="structJSON_1_1String.html">JSON::String</a>&gt;().value;</div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160; 
     envp[<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>]
 = <span class="keyword">new</span> <span 
class="keywordtype">char</span>[entry.size() + 1];</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160; 
     ::memcpy(envp[index], entry.c_str(), entry.size() + 1);</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160; 
     ++<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>;</div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; 
   }</div>
+<div class="line"><a name="l00165"></a><span class="lineno">  
165</span>&#160;</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160; 
   envp[<a class="code" 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a>]
 = <span class="keyword">nullptr</span>;</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160; 
 }</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  
168</span>&#160;</div>
+<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" 
href="classos_1_1raw_1_1Envp.html#a0fc7836e26ef97152884f47326589668">  
169</a></span>&#160;  <a class="code" 
href="classos_1_1raw_1_1Envp.html#a0fc7836e26ef97152884f47326589668">~Envp</a>()</div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160; 
 {</div>
+<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160; 
   <span class="keywordflow">if</span> (envp == <span 
class="keyword">nullptr</span>) {</div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; 
     <span class="keywordflow">return</span>;</div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160; 
   }</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  
174</span>&#160;</div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160; 
   <span class="keywordflow">for</span> (<span 
class="keywordtype">size_t</span> i = 0; i &lt; size; i++) {</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; 
     <span class="keyword">delete</span>[] envp[i];</div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160; 
   }</div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; 
   <span class="keyword">delete</span>[] envp;</div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160; 
 }</div>
+<div class="line"><a name="l00180"></a><span class="lineno">  
180</span>&#160;</div>
+<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" 
href="classos_1_1raw_1_1Envp.html#a0a677ca4dc25de74cfe6b5a403bd86f1">  
181</a></span>&#160;  <span class="keyword">operator</span> <span 
class="keywordtype">char</span>**()</div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160; 
 {</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; 
   <span class="keywordflow">return</span> envp;</div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; 
 }</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  
185</span>&#160;</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  
186</span>&#160;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160; 
 <a class="code" 
href="classos_1_1raw_1_1Envp.html#ade95b03756bcee62904337357ddaeee3">Envp</a>(<span
 class="keyword">const</span> <a class="code" 
href="classos_1_1raw_1_1Envp.html">Envp</a>&amp;) = <span 
class="keyword">delete</span>;</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; 
 <a class="code" href="classos_1_1raw_1_1Envp.html">Envp</a>&amp; 
operator=(<span class="keyword">const</span> <a class="code" 
href="classos_1_1raw_1_1Envp.html">Envp</a>&amp;) = <span 
class="keyword">delete</span>;</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  
189</span>&#160;</div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160; 
 <span class="keywordtype">char</span> **envp;</div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160; 
 <span class="keywordtype">size_t</span> size;</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  
192</span>&#160;};</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  
193</span>&#160;</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  
194</span>&#160;} <span class="comment">// namespace raw {</span></div>
+<div class="line"><a name="l00195"></a><span class="lineno">  
195</span>&#160;} <span class="comment">// namespace os {</span></div>
+<div class="line"><a name="l00196"></a><span class="lineno">  
196</span>&#160;</div>
+<div class="line"><a name="l00197"></a><span class="lineno">  
197</span>&#160;<span class="preprocessor">#endif // 
__STOUT_OS_RAW_ENVIRONMENT_HPP__</span></div>
+<div class="ttc" 
id="structJSON_1_1Value_html_a32ddf233c0ec159c4d72252529219cf6"><div 
class="ttname"><a 
href="structJSON_1_1Value.html#a32ddf233c0ec159c4d72252529219cf6">JSON::Value::as</a></div><div
 class="ttdeci">const T &amp; as() const </div><div 
class="ttdef"><b>Definition:</b> json.hpp:339</div></div>
+<div class="ttc" id="json_8hpp_html"><div class="ttname"><a 
href="json_8hpp.html">json.hpp</a></div></div>
+<div class="ttc" 
id="namespaceos_1_1raw_html_a255f9fd6996adf47571d24586f9ba8fe"><div 
class="ttname"><a 
href="namespaceos_1_1raw.html#a255f9fd6996adf47571d24586f9ba8fe">os::raw::environmentp</a></div><div
 class="ttdeci">char *** environmentp()</div><div 
class="ttdef"><b>Definition:</b> environment.hpp:88</div></div>
+<div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a 
href="structJSON_1_1Object.html">JSON::Object</a></div><div 
class="ttdef"><b>Definition:</b> json.hpp:151</div></div>
+<div class="ttc" 
id="classos_1_1raw_1_1Envp_html_adff3c86f4cc4cc59a05e99e390a2ca36"><div 
class="ttname"><a 
href="classos_1_1raw_1_1Envp.html#adff3c86f4cc4cc59a05e99e390a2ca36">os::raw::Envp::Envp</a></div><div
 class="ttdeci">Envp(const JSON::Object &amp;object)</div><div 
class="ttdef"><b>Definition:</b> environment.hpp:149</div></div>
+<div class="ttc" 
id="namespacerouting_1_1link_html_a26486cdba01ef1c80706b1e07e8a6d3f"><div 
class="ttname"><a 
href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">routing::link::index</a></div><div
 class="ttdeci">Result&lt; int &gt; index(const std::string 
&amp;link)</div></div>
+<div class="ttc" id="classos_1_1raw_1_1Envp_html"><div class="ttname"><a 
href="classos_1_1raw_1_1Envp.html">os::raw::Envp</a></div><div 
class="ttdef"><b>Definition:</b> environment.hpp:119</div></div>
+<div class="ttc" id="foreach_8hpp_html_a66900b166526abe66464d6597536b111"><div 
class="ttname"><a 
href="foreach_8hpp.html#a66900b166526abe66464d6597536b111">foreachpair</a></div><div
 class="ttdeci">#define foreachpair(KEY, VALUE, ELEMS)</div><div 
class="ttdef"><b>Definition:</b> foreach.hpp:51</div></div>
+<div class="ttc" id="structJSON_1_1Value_html"><div class="ttname"><a 
href="structJSON_1_1Value.html">JSON::Value</a></div><div 
class="ttdef"><b>Definition:</b> json.hpp:242</div></div>
+<div class="ttc" id="foreach_8hpp_html"><div class="ttname"><a 
href="foreach_8hpp.html">foreach.hpp</a></div></div>
+<div class="ttc" 
id="classos_1_1raw_1_1Envp_html_a190fc8106950a6e562fc9acca51b0844"><div 
class="ttname"><a 
href="classos_1_1raw_1_1Envp.html#a190fc8106950a6e562fc9acca51b0844">os::raw::Envp::Envp</a></div><div
 class="ttdeci">Envp(const Map &amp;map)</div><div 
class="ttdef"><b>Definition:</b> environment.hpp:131</div></div>
+<div class="ttc" id="structJSON_1_1String_html"><div class="ttname"><a 
href="structJSON_1_1String.html">JSON::String</a></div><div 
class="ttdef"><b>Definition:</b> json.hpp:72</div></div>
+<div class="ttc" id="stringify_8hpp_html"><div class="ttname"><a 
href="stringify_8hpp.html">stringify.hpp</a></div></div>
+<div class="ttc" 
id="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp_html_aa006daaf11f1e2e45a6ababaf463212b"><div
 class="ttname"><a 
href="3rdparty_2stout_2include_2stout_2os_2raw_2environment_8hpp.html#aa006daaf11f1e2e45a6ababaf463212b">environ</a></div><div
 class="ttdeci">char ** environ</div></div>
+<div class="ttc" 
id="classos_1_1raw_1_1Envp_html_ade95b03756bcee62904337357ddaeee3"><div 
class="ttname"><a 
href="classos_1_1raw_1_1Envp.html#ade95b03756bcee62904337357ddaeee3">os::raw::Envp::Envp</a></div><div
 class="ttdeci">Envp(Envp &amp;&amp;that)</div><div 
class="ttdef"><b>Definition:</b> environment.hpp:122</div></div>
+<div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div 
class="ttname"><a 
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div
 class="ttdeci">std::string stringify(int flags)</div><div 
class="ttdef"><b>Definition:</b> ns.hpp:688</div></div>
+<div class="ttc" 
id="classos_1_1raw_1_1Envp_html_a0fc7836e26ef97152884f47326589668"><div 
class="ttname"><a 
href="classos_1_1raw_1_1Envp.html#a0fc7836e26ef97152884f47326589668">os::raw::Envp::~Envp</a></div><div
 class="ttdeci">~Envp()</div><div class="ttdef"><b>Definition:</b> 
environment.hpp:169</div></div>
+<div class="ttc" 
id="namespaceos_1_1raw_html_aad2bd3acb3ca09c75a1a1db58075f9f4"><div 
class="ttname"><a 
href="namespaceos_1_1raw.html#aad2bd3acb3ca09c75a1a1db58075f9f4">os::raw::environment</a></div><div
 class="ttdeci">char ** environment()</div><div 
class="ttdef"><b>Definition:</b> environment.hpp:66</div></div>
+</div><!-- fragment --></div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/a3206036/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2read_8hpp.html
----------------------------------------------------------------------
diff --git 
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2read_8hpp.html 
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2read_8hpp.html
new file mode 100644
index 0000000..ecbc654
--- /dev/null
+++ b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2os_2read_8hpp.html
@@ -0,0 +1,91 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";>
+<head>
+<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
+<meta http-equiv="X-UA-Compatible" content="IE=9"/>
+<meta name="generator" content="Doxygen 1.8.5"/>
+<title>Apache Mesos: 3rdparty/stout/include/stout/os/read.hpp File 
Reference</title>
+<link href="tabs.css" rel="stylesheet" type="text/css"/>
+<script type="text/javascript" src="jquery.js"></script>
+<script type="text/javascript" src="dynsections.js"></script>
+<link href="doxygen.css" rel="stylesheet" type="text/css" />
+</head>
+<body>
+<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
+<div id="titlearea">
+<table cellspacing="0" cellpadding="0">
+ <tbody>
+ <tr style="height: 56px;">
+  <td style="padding-left: 0.5em;">
+   <div id="projectname">Apache Mesos
+   </div>
+  </td>
+ </tr>
+ </tbody>
+</table>
+</div>
+<!-- end header part -->
+<!-- Generated by Doxygen 1.8.5 -->
+  <div id="navrow1" class="tabs">
+    <ul class="tablist">
+      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
+      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
+      <li><a href="annotated.html"><span>Classes</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" 
href="dir_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li 
class="navelem"><a class="el" 
href="dir_aa547de1d719d14adccfca1dfb1735b3.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_1a1b923d951dd999d43396870333fc33.html">include</a></li><li 
class="navelem"><a class="el" 
href="dir_dbd52553d038069c1ed93e3477ea333d.html">stout</a></li><li 
class="navelem"><a class="el" 
href="dir_27832e6c74c2ee170d1dd05a196f816c.html">os</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#namespaces">Namespaces</a> &#124;
+<a href="#func-members">Functions</a>  </div>
+  <div class="headertitle">
+<div class="title">read.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;assert.h&gt;</code><br/>
+<code>#include &lt;stdio.h&gt;</code><br/>
+<code>#include &lt;unistd.h&gt;</code><br/>
+<code>#include &lt;string&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="error_8hpp_source.html">stout/error.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="result_8hpp_source.html">stout/result.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="try_8hpp_source.html">stout/try.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="int__fd_8hpp_source.html">stout/os/int_fd.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="stout_2include_2stout_2os_2socket_8hpp_source.html">stout/os/socket.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" 
href="3rdparty_2stout_2include_2stout_2os_2posix_2read_8hpp_source.html">stout/os/posix/read.hpp</a>&gt;</code><br/>
+</div>
+<p><a href="3rdparty_2stout_2include_2stout_2os_2read_8hpp_source.html">Go to 
the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceos"><td class="memItemLeft" align="right" 
valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" 
href="namespaceos.html">os</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a 
name="func-members"></a>
+Functions</h2></td></tr>
+<tr class="memitem:aa1d97ff0a93229e1fe6b33e3e2d567f7"><td class="memItemLeft" 
align="right" valign="top"><a class="el" href="classResult.html">Result</a>&lt; 
std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a 
class="el" 
href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a> (<a 
class="el" 
href="int__fd_8hpp.html#aea4dbda01c90455f158ffa9b924c2f07">int_fd</a> fd, 
size_t size)</td></tr>
+<tr class="separator:aa1d97ff0a93229e1fe6b33e3e2d567f7"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac7e4e9ac378b8ccbf2faecdfb3f3a825"><td class="memItemLeft" 
align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; 
std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a 
class="el" 
href="namespaceos.html#ac7e4e9ac378b8ccbf2faecdfb3f3a825">os::read</a> (const 
std::string &amp;path)</td></tr>
+<tr class="separator:ac7e4e9ac378b8ccbf2faecdfb3f3a825"><td 
class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+</div><!-- contents -->
+<!-- start footer part -->
+<hr class="footer"/><address class="footer"><small>
+Generated by &#160;<a href="http://www.doxygen.org/index.html";>
+<img class="footer" src="doxygen.png" alt="doxygen"/>
+</a> 1.8.5
+</small></address>
+</body>
+</html>

Reply via email to