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

@@ -25,11 +25,11 @@
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
 /*
- * Copyright (c) 2013, Joyent, Inc. All rights reserved.
+ * Copyright 2018 Joyent, Inc.
  */
 
 #ifndef _SYS_PROC_PRDATA_H
 #define _SYS_PROC_PRDATA_H
 

@@ -134,10 +134,11 @@
         PR_OBJECTDIR,           /* /proc/<pid>/object                   */
         PR_OBJECT,              /* /proc/<pid>/object/xxx               */
         PR_LWPDIR,              /* /proc/<pid>/lwp                      */
         PR_LWPIDDIR,            /* /proc/<pid>/lwp/<lwpid>              */
         PR_LWPCTL,              /* /proc/<pid>/lwp/<lwpid>/lwpctl       */
+        PR_LWPNAME,             /* /proc/<pid>/lwp/<lwpid>/lwpname      */
         PR_LWPSTATUS,           /* /proc/<pid>/lwp/<lwpid>/lwpstatus    */
         PR_LWPSINFO,            /* /proc/<pid>/lwp/<lwpid>/lwpsinfo     */
         PR_LWPUSAGE,            /* /proc/<pid>/lwp/<lwpid>/lwpusage     */
         PR_XREGS,               /* /proc/<pid>/lwp/<lwpid>/xregs        */
         PR_TMPLDIR,             /* /proc/<pid>/lwp/<lwpid>/templates    */