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.
15 .Dt PROC_UNCTRL_PSINFO 3PROC
18 .Nm proc_unctrl_psinfo
19 .Nd fix unprintable characters in a psinfo structures
24 .Fo proc_unctrl_psinfo
29 .Fn proc_uncctrl_psinfo
30 function walks the process arguments of the
34 member) converting unprintable characters into spaces.
35 The conversion continues until a null character is encountered.
36 Note, this routine only will correctly handle 7-bit ASCII characters.
37 Characters in other encodings, e.g. UTF-8, may be misinterpreted as unprintable.
38 .Sh INTERFACE STABILITY
45 .Fn proc_unctrl_psinfo
50 is passed in from multiple threads.