diff options
Diffstat (limited to 'static/freebsd/man3/pthread_mutexattr_getkind_np.3 3.html')
| -rw-r--r-- | static/freebsd/man3/pthread_mutexattr_getkind_np.3 3.html | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/static/freebsd/man3/pthread_mutexattr_getkind_np.3 3.html b/static/freebsd/man3/pthread_mutexattr_getkind_np.3 3.html deleted file mode 100644 index e463c89f..00000000 --- a/static/freebsd/man3/pthread_mutexattr_getkind_np.3 3.html +++ /dev/null @@ -1,82 +0,0 @@ -<table class="head"> - <tr> - <td class="head-ltitle">PTHREAD_MUTEXATTR_GETKIND_NP(3)</td> - <td class="head-vol">Library Functions Manual</td> - <td class="head-rtitle">PTHREAD_MUTEXATTR_GETKIND_NP(3)</td> - </tr> -</table> -<div class="manual-text"> -<section class="Sh"> -<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1> -<p class="Pp"><code class="Nm">pthread_mutexattr_getkind_np</code>, - <code class="Nm">pthread_mutexattr_setkind_np</code> — - <span class="Nd">mutex attribute operations (legacy)</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="LIBRARY"><a class="permalink" href="#LIBRARY">LIBRARY</a></h1> -<p class="Pp"><span class="Lb">POSIX Threads Library (libpthread, - -lpthread)</span></p> -</section> -<section class="Sh"> -<h1 class="Sh" id="SYNOPSIS"><a class="permalink" href="#SYNOPSIS">SYNOPSIS</a></h1> -<p class="Pp"><code class="In">#include - <<a class="In">pthread_np.h</a>></code></p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">pthread_mutexattr_getkind_np</code>(<var class="Fa" style="white-space: nowrap;">pthread_mutexattr_t - attr</var>);</p> -<p class="Pp"><var class="Ft">int</var> - <br/> - <code class="Fn">pthread_mutexattr_setkind_np</code>(<var class="Fa" style="white-space: nowrap;">pthread_mutexattr_t - *attr</var>, <var class="Fa" style="white-space: nowrap;">int - kind</var>);</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1> -<div class="Bf Sy">These functions are deprecated and non-portable - implementation of the mutex type manipulation.</div> -<p class="Pp">It is recommended to use the - <a class="Xr">pthread_mutexattr_gettype(3)</a> and - <a class="Xr">pthread_mutexattr_settype(3)</a> functions instead.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="RETURN_VALUES"><a class="permalink" href="#RETURN_VALUES">RETURN - VALUES</a></h1> -<p class="Pp">The <code class="Fn">pthread_mutexattr_getkind_np</code>() - function returns a positive value representing the “kind” of - the mutex attribute <var class="Fa">attr</var> if successful; otherwise the - value -1 is returned and the global variable <var class="Va">errno</var> is - set to indicate the error.</p> -<p class="Pp"> - <br/> - The <code class="Fn">pthread_mutexattr_setkind_np</code>() function returns - the value 0 if successful; otherwise the value -1 is returned - and the global variable <var class="Va">errno</var> is set to indicate the - error.</p> -</section> -<section class="Sh"> -<h1 class="Sh" id="ERRORS"><a class="permalink" href="#ERRORS">ERRORS</a></h1> -<p class="Pp">The <code class="Fn">pthread_mutexattr_getkind_np</code>() and - <code class="Fn">pthread_mutexattr_setkind_np</code>() functions will fail - if:</p> -<dl class="Bl-tag"> - <dt id="EINVAL">[<a class="permalink" href="#EINVAL"><code class="Er">EINVAL</code></a>]</dt> - <dd>The value specified by <var class="Fa">attr</var> is invalid.</dd> -</dl> -</section> -<section class="Sh"> -<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE - ALSO</a></h1> -<p class="Pp"><a class="Xr">pthread_mutex_destroy(3)</a>, - <a class="Xr">pthread_mutex_init(3)</a>, - <a class="Xr">pthread_mutexattr_gettype(3)</a>, - <a class="Xr">pthread_mutexattr_settype(3)</a>, - <a class="Xr">pthread_np(3)</a></p> -</section> -</div> -<table class="foot"> - <tr> - <td class="foot-date">October 12, 2021</td> - <td class="foot-os">FreeBSD 15.0</td> - </tr> -</table> |
