Print this page
11586 NAME field in man pages should match what's installed

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3c/pthread_attr_get_np.3c
          +++ new/usr/src/man/man3c/pthread_attr_get_np.3c
↓ open down ↓ 3 lines elided ↑ open up ↑
   4    4  .\" You may only use this file in accordance with the terms of version
   5    5  .\" 1.0 of the CDDL.
   6    6  .\"
   7    7  .\" A full copy of the text of the CDDL should have accompanied this
   8    8  .\" source.  A copy of the CDDL is also available via the Internet at
   9    9  .\" http://www.illumos.org/license/CDDL.
  10   10  .\"
  11   11  .\"
  12   12  .\" Copyright 2016 Joyent, Inc.
  13   13  .\"
  14      -.Dd Feb 07, 2015
       14 +.Dd Aug 20, 2019
  15   15  .Dt PTHREAD_ATTR_GET_NP 3C
  16   16  .Os
  17   17  .Sh NAME
  18   18  .Nm pthread_attr_get_np
  19   19  .Nd get pthread attributes of a running thread
  20   20  .Sh SYNOPSIS
  21   21  .In pthread.h
  22   22  .Ft int
  23   23  .Fo pthread_attr_get_np
  24   24  .Fa "pthread_t thread"
↓ open down ↓ 7 lines elided ↑ open up ↑
  32   32  after it has been created.
  33   33  This function is most commonly used to obtain the actual location and size of a
  34   34  thread's stack.
  35   35  .Pp
  36   36  The attributes pointer,
  37   37  .Fa attr ,
  38   38  will be filled in with the current attributes for the thread.
  39   39  The attributes should be allocated by a call to
  40   40  .Xr pthread_attr_init 3C
  41   41  prior to calling the
  42      -.Fn pthrad_attr_get_np
       42 +.Fn pthread_attr_get_np
  43   43  function.
  44   44  When
  45   45  .Fa attr
  46   46  is done being used, it should be destroyed through a call to
  47   47  .Xr pthread_attr_destroy 3C .
  48   48  .Pp
  49   49  The attributes of the thread
  50   50  .Fa thread
  51   51  will be the same as those passed in at the time
  52   52  .Xr pthread_create 3C
↓ open down ↓ 149 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX