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
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.
12 .\" Copyright 2015 Joyent, Inc.
19 .Nd obtain the thread control file descriptor
25 .Fa "struct ps_lwphandle *L"
30 function returns a file descriptor to the underlying /proc file system
32 file for the thread identified by the handle
34 This may be used for injecting control operations manually; however,
35 many interfaces for using it are provided by
39 The file descriptor is invalidated when the thread handle is released
46 on the returned file descriptor.
47 .Sh INTERFACE STABILITY