Print this page
11583 Some man3lib pages are missing parts of the SYNOPSIS

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man3lib/libc_db.3lib
          +++ new/usr/src/man/man3lib/libc_db.3lib
   1    1  '\" te
   2    2  .\" Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   4    4  .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   5    5  .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   6      -.TH LIBC_DB 3LIB "Mar 24, 2004"
        6 +.TH LIBC_DB 3LIB "Aug 19, 2019"
   7    7  .SH NAME
   8    8  libc_db \- threads debugging library
   9    9  .SH SYNOPSIS
  10      -.LP
  11   10  .nf
  12      -cc [ \fIflag\fR ... ] \fIfile\fR ... \fB-lc_db\fR [ \fIlibrary \fR... ]
       11 +cc [ \fIflag\fR... ] \fIfile\fR... \fB-lc_db\fR [ \fIlibrary\fR... ]
  13   12  #include <\fBproc_service.h\fR>
  14   13  #include <\fBthread_db.h\fR>
  15   14  .fi
  16   15  
  17   16  .SH DESCRIPTION
  18      -.sp
  19      -.LP
  20   17  The \fBlibc_db\fR library provides support for monitoring and manipulating
  21   18  threads-related aspects of a multithreaded program. There are at least two
  22   19  processes involved,  the controlling process and one or more target processes.
  23   20  The controlling process is the \fBlibc_db\fR client, which links with
  24   21  \fBlibc_db\fR and uses \fBlibc_db\fR to inspect or modify threads-related
  25   22  aspects of one or more target processes. The target processes must be
  26      -multithreaded processes that use \fBlibc\fR. The controlling process mignt or
       23 +multithreaded processes that use \fBlibc\fR. The controlling process might or
  27   24  might not be multithreaded itself.
  28   25  .sp
  29   26  .LP
  30   27  The most commonly anticipated use for \fBlibc_db\fR is that the controlling
  31   28  process will be a debugger for a multithreaded program, hence the "db" in
  32   29  \fBlibc_db\fR.
  33   30  .sp
  34   31  .LP
  35   32  The \fBlibc_db\fR library is dependent on the internal implementation details
  36   33  of \fBlibc\fR. It is a "friend" of \fBlibc\fR in the C++ sense, which is
↓ open down ↓ 51 lines elided ↑ open up ↑
  88   85  the callback function.  This makes it easy to build a linked list of thread
  89   86  handles for a particular target process. The additional parameter is the head
  90   87  of the linked list, and the callback function simply inserts the current handle
  91   88  into the linked list.
  92   89  .sp
  93   90  .LP
  94   91  Callback functions are expected to return an integer.  Iteration terminates
  95   92  early if a callback function returns a non-zero value. Otherwise, iteration
  96   93  terminates when there are no more handles to pass back.
  97   94  .SH INTERFACES
  98      -.sp
  99      -.LP
 100   95  The shared object \fBlibc_db.so.1\fR provides the public interfaces defined
 101   96  below. See \fBIntro\fR(3) for additional information on shared object
 102   97  interfaces.
 103   98  .sp
 104   99  
 105  100  .sp
 106  101  .TS
 107  102  l l
 108  103  l l .
 109  104  \fBtd_init\fR   \fBtd_log\fR
↓ open down ↓ 15 lines elided ↑ open up ↑
 125  120  \fBtd_thr_getgregs\fR   \fBtd_thr_getxregs\fR
 126  121  \fBtd_thr_getxregsize\fR        \fBtd_thr_lockowner\fR
 127  122  \fBtd_thr_set_event\fR  \fBtd_thr_setfpregs\fR
 128  123  \fBtd_thr_setgregs\fR   \fBtd_thr_setprio\fR
 129  124  \fBtd_thr_setsigpending\fR      \fBtd_thr_setxregs\fR
 130  125  \fBtd_thr_sigsetmask\fR \fBtd_thr_sleepinfo\fR
 131  126  \fBtd_thr_tsd\fR        \fBtd_thr_validate\fR
 132  127  .TE
 133  128  
 134  129  .SH FILES
 135      -.sp
 136  130  .ne 2
 137  131  .na
 138      -\fB\fB/lib/libc_db.so.1\fR\fR
      132 +\fB/lib/libc_db.so.1\fR
 139  133  .ad
 140  134  .RS 24n
 141  135  shared object
 142  136  .RE
 143  137  
 144  138  .sp
 145  139  .ne 2
 146  140  .na
 147      -\fB\fB/lib/64/libc_db.so.1\fR\fR
      141 +\fB/lib/64/libc_db.so.1\fR
 148  142  .ad
 149  143  .RS 24n
 150  144  64-bit shared object
 151  145  .RE
 152  146  
 153  147  .SH ATTRIBUTES
 154      -.sp
 155      -.LP
 156  148  See \fBattributes\fR(5) for description of the following attributes:
 157  149  .sp
 158  150  
 159  151  .sp
 160  152  .TS
 161  153  box;
 162  154  c | c
 163  155  l | l .
 164  156  ATTRIBUTE TYPE  ATTRIBUTE VALUE
 165  157  MT-Level        Safe
 166  158  .TE
 167  159  
 168  160  .SH SEE ALSO
 169      -.sp
 170      -.LP
 171  161  \fBIntro\fR(3), \fBtd_ta_new\fR(3C_DB), \fBattributes\fR(5), \fBthreads\fR(5)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX