Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section
   1 .\"
   2 .\" This file and its contents are supplied under the terms of the
   3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
   4 .\" You may only use this file in accordance with the terms of version
   5 .\" 1.0 of the CDDL.
   6 .\"
   7 .\" A full copy of the text of the CDDL should have accompanied this
   8 .\" source.  A copy of the CDDL is also available via the Internet at
   9 .\" http://www.illumos.org/license/CDDL.
  10 .\"
  11 .\"
  12 .\" Copyright 2015 Joyent, Inc.
  13 .\"
  14 .Dd May 11, 2016
  15 .Dt PCLEARSIG 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Pclearsig ,
  19 .Nm Lclearsig
  20 .Nd clear process signals
  21 .Sh SYNOPSIS
  22 .Lb libproc

  23 .In libproc.h
  24 .Ft int
  25 .Fo Pclearsig
  26 .Fa "struct ps_prochandle *P"
  27 .Fc
  28 .Ft int
  29 .Fo Lclearsig
  30 .Fa "struct ps_lwphandle *L"
  31 .Fc
  32 .Sh DESCRIPTION
  33 During normal operation a process may receive a signal.
  34 Signals may indicate an error, for example referencing unmapped memory, an alarm
  35 firing, requests for information, and users requesting an interruption.
  36 For more information on the generation and usage of signals, see
  37 .Xr signal.h 3HEAD .
  38 .Pp
  39 The
  40 .Fn Pclearsig
  41 function instructs the system to clear any signal pending delivery to
  42 a thread in the process represented by the process handle


   1 .\"
   2 .\" This file and its contents are supplied under the terms of the
   3 .\" Common Development and Distribution License ("CDDL"), version 1.0.
   4 .\" You may only use this file in accordance with the terms of version
   5 .\" 1.0 of the CDDL.
   6 .\"
   7 .\" A full copy of the text of the CDDL should have accompanied this
   8 .\" source.  A copy of the CDDL is also available via the Internet at
   9 .\" http://www.illumos.org/license/CDDL.
  10 .\"
  11 .\"
  12 .\" Copyright 2015 Joyent, Inc.
  13 .\"
  14 .Dd May 11, 2016
  15 .Dt PCLEARSIG 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Pclearsig ,
  19 .Nm Lclearsig
  20 .Nd clear process signals
  21 .Sh LIBRARY
  22 .Lb libproc
  23 .Sh SYNOPSIS
  24 .In libproc.h
  25 .Ft int
  26 .Fo Pclearsig
  27 .Fa "struct ps_prochandle *P"
  28 .Fc
  29 .Ft int
  30 .Fo Lclearsig
  31 .Fa "struct ps_lwphandle *L"
  32 .Fc
  33 .Sh DESCRIPTION
  34 During normal operation a process may receive a signal.
  35 Signals may indicate an error, for example referencing unmapped memory, an alarm
  36 firing, requests for information, and users requesting an interruption.
  37 For more information on the generation and usage of signals, see
  38 .Xr signal.h 3HEAD .
  39 .Pp
  40 The
  41 .Fn Pclearsig
  42 function instructs the system to clear any signal pending delivery to
  43 a thread in the process represented by the process handle