Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section


   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 PCREATE 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Pcreate ,
  19 .Nm Pxcreate ,
  20 .Nm Pcreate_callback
  21 .Nd create and control a process
  22 .Sh SYNOPSIS
  23 .Lb libproc

  24 .In libproc.h
  25 .Ft "struct ps_prochandle *"
  26 .Fo Pcreate
  27 .Fa "const char *file"
  28 .Fa "char *const *argv"
  29 .Fa "int *perr"
  30 .Fa "char *path"
  31 .Fa "size_t len"
  32 .Fc
  33 .Ft "struct ps_prochandle *"
  34 .Fo Pxcreate
  35 .Fa "const char *file"
  36 .Fa "char *const *argv"
  37 .Fa "char *const *envp"
  38 .Fa "int *perr"
  39 .Fa "char *path"
  40 .Fa "size_t len"
  41 .Fc
  42 .Ft void
  43 .Fo Pcreate_callback




   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 PCREATE 3PROC
  16 .Os
  17 .Sh NAME
  18 .Nm Pcreate ,
  19 .Nm Pxcreate ,
  20 .Nm Pcreate_callback
  21 .Nd create and control a process
  22 .Sh LIBRARY
  23 .Lb libproc
  24 .Sh SYNOPSIS
  25 .In libproc.h
  26 .Ft "struct ps_prochandle *"
  27 .Fo Pcreate
  28 .Fa "const char *file"
  29 .Fa "char *const *argv"
  30 .Fa "int *perr"
  31 .Fa "char *path"
  32 .Fa "size_t len"
  33 .Fc
  34 .Ft "struct ps_prochandle *"
  35 .Fo Pxcreate
  36 .Fa "const char *file"
  37 .Fa "char *const *argv"
  38 .Fa "char *const *envp"
  39 .Fa "int *perr"
  40 .Fa "char *path"
  41 .Fa "size_t len"
  42 .Fc
  43 .Ft void
  44 .Fo Pcreate_callback