Skip to content

Commit

Permalink
v2.0.0
Browse files Browse the repository at this point in the history
Notable changes:

- Add __get_stack_start() and __iterate_stack_and_get() which can be
  used to get the stack start address for the current thread
- Add __is_stfle_available() which returns if STFLE instruction is
  available
- ZOSLIB will now be built as a shared library by default
- Add __is_vxf_available() which returns if the current z arch
  includes Vector Extension Facility
- Add __is_vef1_available() which returns if the current z arch
  includes Vector Enhancements Facility 1
- [MAJOR] New headers zos-bpx.h, zos-char-util.h, zos-io.h,
  zos-setlibpath.h, zos-tls.h added
  • Loading branch information
zsw007 committed Jan 18, 2022
1 parent 6eb6386 commit b83c8ed
Show file tree
Hide file tree
Showing 257 changed files with 13,509 additions and 7,165 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ xlclang++ -I path/to/zoslib/include -L path/to/mybuilddir/lib -lzoslib random.cc

You should get an output similar to the following:
```
ZOSLIB version: v1.1.0
ZOSLIB version: v2.0.0
Generating 2 random values
Random index: 0
BC DE CF DE 7 E3 58 3A 4F 22
Expand Down
72 changes: 37 additions & 35 deletions docs/annotated.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/class_____cache.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
Public Member Functions</h2></td></tr>
<tr class="memitem:a5f2ad08544add09c86cd26f62cc57525"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_____cache.html#a5f2ad08544add09c86cd26f62cc57525">__Cache</a> ()</td></tr>
<tr class="separator:a5f2ad08544add09c86cd26f62cc57525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fd58be39af8859641a022a73a4b0fd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_____cache.html#a3fd58be39af8859641a022a73a4b0fd6">addptr</a> (const void *ptr, <a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> v)</td></tr>
<tr class="memitem:a3fd58be39af8859641a022a73a4b0fd6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_____cache.html#a3fd58be39af8859641a022a73a4b0fd6">addptr</a> (const void *ptr, size_t v)</td></tr>
<tr class="separator:a3fd58be39af8859641a022a73a4b0fd6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb96f33f958af4267946e095e3d86161"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_____cache.html#aeb96f33f958af4267946e095e3d86161">elligible</a> ()</td></tr>
<tr class="separator:aeb96f33f958af4267946e095e3d86161"><td class="memSeparator" colspan="2">&#160;</td></tr>
Expand Down Expand Up @@ -163,7 +163,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a3fd58be39af8859641a022a7
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a>&#160;</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>v</em>&#160;</td>
</tr>
<tr>
Expand Down
16 changes: 8 additions & 8 deletions docs/class____cs_converter.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
<tr class="separator:a75bcc547ae64e6c61c12f3d9ac3e79b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d786cd596ffee628a671e2cce56b926"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class____cs_converter.html#a5d786cd596ffee628a671e2cce56b926">~__csConverter</a> (void)</td></tr>
<tr class="separator:a5d786cd596ffee628a671e2cce56b926"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af01702026fa1b9335f13d0788dcbb2b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class____cs_converter.html#af01702026fa1b9335f13d0788dcbb2b7">iconv</a> (char **inbuf, <a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> *inbytesleft, char **outbuf, <a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> *outbytesleft)</td></tr>
<tr class="memitem:af01702026fa1b9335f13d0788dcbb2b7"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class____cs_converter.html#af01702026fa1b9335f13d0788dcbb2b7">iconv</a> (char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft)</td></tr>
<tr class="separator:af01702026fa1b9335f13d0788dcbb2b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a0f98c870b2e14c5b82e18e93fa9b2d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class____cs_converter.html#a6a0f98c870b2e14c5b82e18e93fa9b2d">conv</a> (char *out, <a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> outsize, const char *in, <a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> insize)</td></tr>
<tr class="memitem:a6a0f98c870b2e14c5b82e18e93fa9b2d"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class____cs_converter.html#a6a0f98c870b2e14c5b82e18e93fa9b2d">conv</a> (char *out, size_t outsize, const char *in, size_t insize)</td></tr>
<tr class="separator:a6a0f98c870b2e14c5b82e18e93fa9b2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
Expand Down Expand Up @@ -165,7 +165,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a6a0f98c870b2e14c5b82e18e
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a>&#160;</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>outsize</em>, </td>
</tr>
<tr>
Expand All @@ -177,7 +177,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a6a0f98c870b2e14c5b82e18e
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a>&#160;</td>
<td class="paramtype">size_t&#160;</td>
<td class="paramname"><em>insize</em>&#160;</td>
</tr>
<tr>
Expand Down Expand Up @@ -205,15 +205,15 @@ <h2 class="memtitle"><span class="permalink"><a href="#af01702026fa1b9335f13d078
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> __csConverter::iconv </td>
<td class="memname">size_t __csConverter::iconv </td>
<td>(</td>
<td class="paramtype">char **&#160;</td>
<td class="paramname"><em>inbuf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> *&#160;</td>
<td class="paramtype">size_t *&#160;</td>
<td class="paramname"><em>inbytesleft</em>, </td>
</tr>
<tr>
Expand All @@ -225,7 +225,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#af01702026fa1b9335f13d078
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="zos-base_8h.html#acf18a0d6c4b39d531e021702e9a77984">size_t</a> *&#160;</td>
<td class="paramtype">size_t *&#160;</td>
<td class="paramname"><em>outbytesleft</em>&#160;</td>
</tr>
<tr>
Expand Down Expand Up @@ -270,7 +270,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a75bcc547ae64e6c61c12f3d9
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="zos_8cc.html">zos.cc</a></li>
<li>src/<a class="el" href="zos-char-util_8cc.html">zos-char-util.cc</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
Expand Down
79 changes: 79 additions & 0 deletions docs/class____setlibpath-members.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.19"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>zoslib: Member List</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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">zoslib
</div>
<div id="projectbrief">z/OS C/C++ Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.19 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">__setlibpath Member List</div> </div>
</div><!--header-->
<div class="contents">

<p>This is the complete list of members for <a class="el" href="class____setlibpath.html">__setlibpath</a>, including all inherited members.</p>
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class____setlibpath.html#a91aa46d44954c6c8ee87b988e2956cfc">__setlibpath</a>()</td><td class="entry"><a class="el" href="class____setlibpath.html">__setlibpath</a></td><td class="entry"><span class="mlabel">inline</span></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.svg" width="104" height="31" alt="doxygen"/></a> 1.8.19
</small></address>
</body>
</html>
115 changes: 115 additions & 0 deletions docs/class____setlibpath.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.19"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>zoslib: __setlibpath Class 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">zoslib
</div>
<div id="projectbrief">z/OS C/C++ Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.19 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class____setlibpath-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">__setlibpath Class Reference</div> </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="zos-setlibpath_8h_source.html">zos-setlibpath.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a91aa46d44954c6c8ee87b988e2956cfc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class____setlibpath.html#a91aa46d44954c6c8ee87b988e2956cfc">__setlibpath</a> ()</td></tr>
<tr class="separator:a91aa46d44954c6c8ee87b988e2956cfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a91aa46d44954c6c8ee87b988e2956cfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91aa46d44954c6c8ee87b988e2956cfc">&#9670;&nbsp;</a></span>__setlibpath()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">__setlibpath::__setlibpath </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/<a class="el" href="zos-setlibpath_8h_source.html">zos-setlibpath.h</a></li>
</ul>
</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.svg" width="104" height="31" alt="doxygen"/></a> 1.8.19
</small></address>
</body>
</html>
Loading

0 comments on commit b83c8ed

Please sign in to comment.