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

@@ -24,10 +24,11 @@
  * Use is subject to license terms.
  */
 
 /*
  * Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
+ * Copyright 2018 Joyent, Inc.
  */
 
 #ifndef _STRUCT_LAYOUT_H
 #define _STRUCT_LAYOUT_H
 

@@ -533,10 +534,16 @@
         sl_field_t              pr_inherit;
         sl_field_t              pr_lower;
         sl_field_t              pr_upper;
 } sl_prsecflags_layout_t;
 
+typedef struct {
+        sl_field_t              sizeof_struct;
+        sl_field_t              pr_lwpid;
+        sl_field_t              pr_lwpname;
+} sl_prlwpname_layout_t;
+
 /*
  * This type collects all of the layout definitions for
  * a given architecture.
  */
 typedef struct {

@@ -559,10 +566,11 @@
         const sl_sysset_layout_t        *sysset;        /* sysset_t */
         const sl_timestruc_layout_t     *timestruc;     /* timestruc_t */
         const sl_utsname_layout_t       *utsname;       /* struct utsname */
         const sl_prfdinfo_layout_t      *prfdinfo;      /* prdinfo_t */
         const sl_prsecflags_layout_t    *prsecflags;    /* prsecflags_t */
+        const sl_prlwpname_layout_t     *prlwpname;     /* prlwpname_t */
 } sl_arch_layout_t;
 
 
 
 extern  void            sl_extract_num_field(const char *data, int do_swap,