Skip to content

Commit

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

- Fix bug where memory address for size 4 GB gets stored as 0
- Add __set_backtrace_on_abort() used to enable or disable
  abort() from calling display_backtrace()
- Define == and != operators for pthread_t
  • Loading branch information
zsw007 committed Jan 18, 2022
1 parent a540a28 commit 6218a43
Show file tree
Hide file tree
Showing 120 changed files with 1,794 additions and 1,711 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: v2.0.0
ZOSLIB version: v2.1.0
Generating 2 random values
Random index: 0
BC DE CF DE 7 E3 58 3A 4F 22
Expand Down
42 changes: 23 additions & 19 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos-base_8h.html#aa796711629d74f05f88a5d53f3b68956">zos-base.h</a>
</li>
<li>__sem_trywait()
: <a class="el" href="zos-base_8h.html#accc696cae41b87b19fa2ffc0ce4a06e2">zos-base.h</a>
, <a class="el" href="zos_8cc.html#ab645a4486f4249e0f5e24e713199b9ad">zos.cc</a>
: <a class="el" href="zos_8cc.html#ab645a4486f4249e0f5e24e713199b9ad">zos.cc</a>
, <a class="el" href="zos-base_8h.html#accc696cae41b87b19fa2ffc0ce4a06e2">zos-base.h</a>
</li>
<li>__sem_wait()
: <a class="el" href="zos-base_8h.html#a1adbe1c392115b2ff023ab7dbf605011">zos-base.h</a>
Expand All @@ -339,9 +339,13 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
: <a class="el" href="zos-char-util_8cc.html#a471dc9324e1d385a16614bc1c2171d45">zos-char-util.cc</a>
, <a class="el" href="zos-char-util_8h.html#a471dc9324e1d385a16614bc1c2171d45">zos-char-util.h</a>
</li>
<li>__set_backtrace_on_abort()
: <a class="el" href="zos-base_8h.html#a669a2def8764ee4faffc13756bb22a00">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a669a2def8764ee4faffc13756bb22a00">zos.cc</a>
</li>
<li>__set_ccsid_guess_buf_size()
: <a class="el" href="zos_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos.cc</a>
, <a class="el" href="zos-char-util_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos-char-util.cc</a>
: <a class="el" href="zos-char-util_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos-char-util.cc</a>
, <a class="el" href="zos_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos.cc</a>
</li>
<li>__setdebug()
: <a class="el" href="zos-base_8h.html#a2cea5c0e624b0131aba94ab6d0df91a9">zos-base.h</a>
Expand All @@ -368,12 +372,12 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos_8cc.html#aa1ad85ba2714fc321967050989c5fee7">zos.cc</a>
</li>
<li>__tcp_clear_to_close()
: <a class="el" href="zos-base_8h.html#a24e641431113c2b6bed09be1492f39c6">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a24e641431113c2b6bed09be1492f39c6">zos.cc</a>
: <a class="el" href="zos_8cc.html#a24e641431113c2b6bed09be1492f39c6">zos.cc</a>
, <a class="el" href="zos-base_8h.html#a24e641431113c2b6bed09be1492f39c6">zos-base.h</a>
</li>
<li>__testread()
: <a class="el" href="zos_8cc.html#a023962f5ca109441bd87580ddca08f77">zos.cc</a>
, <a class="el" href="zos-base_8h.html#a023962f5ca109441bd87580ddca08f77">zos-base.h</a>
: <a class="el" href="zos-base_8h.html#a023962f5ca109441bd87580ddca08f77">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a023962f5ca109441bd87580ddca08f77">zos.cc</a>
</li>
<li>__tlsPtrFromAnchor()
: <a class="el" href="zos-tls_8cc.html#a6621a4bbedbe45e1fe719409f7b6a2fe">zos-tls.cc</a>
Expand All @@ -399,23 +403,23 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
: <a class="el" href="zos_8cc.html#a5341b5cf9721b7a737fa7591980130fe">zos.cc</a>
</li>
<li>__uss_base_address()
: <a class="el" href="zos-bpx_8cc.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.cc</a>
, <a class="el" href="zos-bpx_8h.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.h</a>
: <a class="el" href="zos-bpx_8h.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.h</a>
, <a class="el" href="zos-bpx_8cc.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.cc</a>
</li>
<li>__xfer_env()
: <a class="el" href="zos_8cc.html#ab34998b2282ac455c862099ec3894f33">zos.cc</a>
, <a class="el" href="zos-base_8h.html#ab34998b2282ac455c862099ec3894f33">zos-base.h</a>
: <a class="el" href="zos-base_8h.html#ab34998b2282ac455c862099ec3894f33">zos-base.h</a>
, <a class="el" href="zos_8cc.html#ab34998b2282ac455c862099ec3894f33">zos.cc</a>
</li>
<li>__ZOS_CC
: <a class="el" href="zos_8cc.html#ae6eb63ab679fae20beac500e7d117a04">zos.cc</a>
, <a class="el" href="zos-base_8h.html#ae6eb63ab679fae20beac500e7d117a04">zos-base.h</a>
: <a class="el" href="zos-base_8h.html#ae6eb63ab679fae20beac500e7d117a04">zos-base.h</a>
, <a class="el" href="zos_8cc.html#ae6eb63ab679fae20beac500e7d117a04">zos.cc</a>
</li>
<li>__ZOS_EXT__
: <a class="el" href="zos-base_8h.html#ae96480323b045acfbd9134868f9abf88">zos-base.h</a>
</li>
<li>__zoslib_version
: <a class="el" href="zos-base_8h.html#a50c65fa4d98053511f95bc2fefd1aea5">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a50c65fa4d98053511f95bc2fefd1aea5">zos.cc</a>
: <a class="el" href="zos_8cc.html#a50c65fa4d98053511f95bc2fefd1aea5">zos.cc</a>
, <a class="el" href="zos-base_8h.html#a50c65fa4d98053511f95bc2fefd1aea5">zos-base.h</a>
</li>
<li>__zsync_val_compare_and_swap32()
: <a class="el" href="zos_8cc.html#a685f6f3de90ad3900f57aebbe637b766">zos.cc</a>
Expand All @@ -426,8 +430,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos_8cc.html#a55c845b63ed7450afbd05ada9c9bfded">zos.cc</a>
</li>
<li>_convert_a2e()
: <a class="el" href="zos-char-util_8h.html#aaa7f8746a5d3f1ec038b64ae2ff2ca8e">zos-char-util.h</a>
, <a class="el" href="zos-char-util_8cc.html#aaa7f8746a5d3f1ec038b64ae2ff2ca8e">zos-char-util.cc</a>
: <a class="el" href="zos-char-util_8cc.html#aaa7f8746a5d3f1ec038b64ae2ff2ca8e">zos-char-util.cc</a>
, <a class="el" href="zos-char-util_8h.html#aaa7f8746a5d3f1ec038b64ae2ff2ca8e">zos-char-util.h</a>
</li>
<li>_convert_e2a()
: <a class="el" href="zos-char-util_8h.html#a8b9226967c1d98227eced5eee36301ef">zos-char-util.h</a>
Expand All @@ -444,8 +448,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
</li>
<li>_POSIX_SOURCE
: <a class="el" href="zos-bpx_8cc.html#ac3d144aa01e765a1fae62ab5491c7cc1">zos-bpx.cc</a>
, <a class="el" href="zos-tls_8cc.html#ac3d144aa01e765a1fae62ab5491c7cc1">zos-tls.cc</a>
, <a class="el" href="zos-bpx_8h.html#ac3d144aa01e765a1fae62ab5491c7cc1">zos-bpx.h</a>
, <a class="el" href="zos-tls_8cc.html#ac3d144aa01e765a1fae62ab5491c7cc1">zos-tls.cc</a>
</li>
<li>_str_a2e
: <a class="el" href="zos-char-util_8h.html#aed8dbbb0fe4f47e3cfad8a85c72f91a3">zos-char-util.h</a>
Expand Down
6 changes: 3 additions & 3 deletions docs/globals_c.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ <h3><a id="index_c"></a>- c -</h3><ul>
<li>CSG
: <a class="el" href="zos_8cc.html#a43f4122f7ec8bf89b907cb979526f6f2">zos.cc</a>
</li>
<li>csrsi
: <a class="el" href="csrsic_8h.html#a67373670c74417d1f4df0164d96ddc97">csrsic.h</a>
</li>
<li>CSRSI
: <a class="el" href="csrsic_8h.html#aec320b9a8d95cabc6ddcecaf584ad8b9">csrsic.h</a>
</li>
<li>csrsi
: <a class="el" href="csrsic_8h.html#a67373670c74417d1f4df0164d96ddc97">csrsic.h</a>
</li>
<li>CSRSI_BADINFOAREALEN
: <a class="el" href="csrsic_8h.html#a464712805c63ab1b5b85f96d5c7afa35">csrsic.h</a>
</li>
Expand Down
36 changes: 20 additions & 16 deletions docs/globals_func.html
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos-base_8h.html#a6ad10d265f086cc2fa4154a022beb4b8">zos-base.h</a>
</li>
<li>__is_vef1_available()
: <a class="el" href="zos-sys-info_8h.html#ace9343312e3d85eeddebe558b070e280">zos-sys-info.h</a>
, <a class="el" href="zos-sys-info_8cc.html#ace9343312e3d85eeddebe558b070e280">zos-sys-info.cc</a>
: <a class="el" href="zos-sys-info_8cc.html#ace9343312e3d85eeddebe558b070e280">zos-sys-info.cc</a>
, <a class="el" href="zos-sys-info_8h.html#ace9343312e3d85eeddebe558b070e280">zos-sys-info.h</a>
</li>
<li>__is_vxf_available()
: <a class="el" href="zos-sys-info_8cc.html#aaabf39b1027a0ddb9a5677b13cd7d710">zos-sys-info.cc</a>
Expand All @@ -277,8 +277,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos-base_8h.html#ac597a71375605aa919ffde000a4e9bf9">zos-base.h</a>
</li>
<li>__registerProduct()
: <a class="el" href="zos-base_8h.html#a12c0dd60622e54588c056aef25313df0">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a12c0dd60622e54588c056aef25313df0">zos.cc</a>
: <a class="el" href="zos_8cc.html#a12c0dd60622e54588c056aef25313df0">zos.cc</a>
, <a class="el" href="zos-base_8h.html#a12c0dd60622e54588c056aef25313df0">zos-base.h</a>
</li>
<li>__sem_destroy()
: <a class="el" href="zos-base_8h.html#a4a493515255bd9d8113483a3d3dd124e">zos-base.h</a>
Expand Down Expand Up @@ -312,9 +312,13 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
: <a class="el" href="zos-char-util_8h.html#a471dc9324e1d385a16614bc1c2171d45">zos-char-util.h</a>
, <a class="el" href="zos-char-util_8cc.html#a471dc9324e1d385a16614bc1c2171d45">zos-char-util.cc</a>
</li>
<li>__set_backtrace_on_abort()
: <a class="el" href="zos-base_8h.html#a669a2def8764ee4faffc13756bb22a00">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a669a2def8764ee4faffc13756bb22a00">zos.cc</a>
</li>
<li>__set_ccsid_guess_buf_size()
: <a class="el" href="zos-char-util_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos-char-util.cc</a>
, <a class="el" href="zos_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos.cc</a>
: <a class="el" href="zos_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos.cc</a>
, <a class="el" href="zos-char-util_8cc.html#a94042c9c134f84c2b0828cc9bf990acf">zos-char-util.cc</a>
</li>
<li>__setdebug()
: <a class="el" href="zos-base_8h.html#a2cea5c0e624b0131aba94ab6d0df91a9">zos-base.h</a>
Expand All @@ -324,19 +328,19 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
: <a class="el" href="zos_8cc.html#abe4300c3c9bba7985cb7d7f49e5c874e">zos.cc</a>
</li>
<li>__setfdccsid()
: <a class="el" href="zos-io_8h.html#a1a0138d7459e13d4a6f70cce01aab5c8">zos-io.h</a>
, <a class="el" href="zos-io_8cc.html#a1a0138d7459e13d4a6f70cce01aab5c8">zos-io.cc</a>
: <a class="el" href="zos-io_8cc.html#a1a0138d7459e13d4a6f70cce01aab5c8">zos-io.cc</a>
, <a class="el" href="zos-io_8h.html#a1a0138d7459e13d4a6f70cce01aab5c8">zos-io.h</a>
</li>
<li>__settimelimit()
: <a class="el" href="zos_8cc.html#a3a9f8edd020d4b529d5bc6e786d205d6">zos.cc</a>
</li>
<li>__tb()
: <a class="el" href="zos-base_8h.html#aa1ad85ba2714fc321967050989c5fee7">zos-base.h</a>
, <a class="el" href="zos_8cc.html#aa1ad85ba2714fc321967050989c5fee7">zos.cc</a>
: <a class="el" href="zos_8cc.html#aa1ad85ba2714fc321967050989c5fee7">zos.cc</a>
, <a class="el" href="zos-base_8h.html#aa1ad85ba2714fc321967050989c5fee7">zos-base.h</a>
</li>
<li>__tcp_clear_to_close()
: <a class="el" href="zos-base_8h.html#a24e641431113c2b6bed09be1492f39c6">zos-base.h</a>
, <a class="el" href="zos_8cc.html#a24e641431113c2b6bed09be1492f39c6">zos.cc</a>
: <a class="el" href="zos_8cc.html#a24e641431113c2b6bed09be1492f39c6">zos.cc</a>
, <a class="el" href="zos-base_8h.html#a24e641431113c2b6bed09be1492f39c6">zos-base.h</a>
</li>
<li>__testread()
: <a class="el" href="zos-base_8h.html#a023962f5ca109441bd87580ddca08f77">zos-base.h</a>
Expand All @@ -363,8 +367,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos_8cc.html#aa888e18935cf53f95aa428892eb8bf2b">zos.cc</a>
</li>
<li>__uss_base_address()
: <a class="el" href="zos-bpx_8h.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.h</a>
, <a class="el" href="zos-bpx_8cc.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.cc</a>
: <a class="el" href="zos-bpx_8cc.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.cc</a>
, <a class="el" href="zos-bpx_8h.html#ab93c7896ccd54c6a83d09c5cfdc1b293">zos-bpx.h</a>
</li>
<li>__xfer_env()
: <a class="el" href="zos_8cc.html#ab34998b2282ac455c862099ec3894f33">zos.cc</a>
Expand All @@ -378,8 +382,8 @@ <h3><a id="index__5F"></a>- _ -</h3><ul>
, <a class="el" href="zos-char-util_8cc.html#aaa7f8746a5d3f1ec038b64ae2ff2ca8e">zos-char-util.cc</a>
</li>
<li>_convert_e2a()
: <a class="el" href="zos-char-util_8cc.html#a8b9226967c1d98227eced5eee36301ef">zos-char-util.cc</a>
, <a class="el" href="zos-char-util_8h.html#a8b9226967c1d98227eced5eee36301ef">zos-char-util.h</a>
: <a class="el" href="zos-char-util_8h.html#a8b9226967c1d98227eced5eee36301ef">zos-char-util.h</a>
, <a class="el" href="zos-char-util_8cc.html#a8b9226967c1d98227eced5eee36301ef">zos-char-util.cc</a>
</li>
</ul>
</div><!-- contents -->
Expand Down
Loading

0 comments on commit 6218a43

Please sign in to comment.