Print this page
12743 man page spelling mistakes
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3picl/picl_get_propinfo.3picl
+++ new/usr/src/man/man3picl/picl_get_propinfo.3picl
1 1 '\" te
2 2 .\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
3 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 -.TH PICL_GET_PROPINFO 3PICL "Mar 28, 2000"
6 +.TH PICL_GET_PROPINFO 3PICL "May 16, 2020"
7 7 .SH NAME
8 8 picl_get_propinfo \- get the information about a property
9 9 .SH SYNOPSIS
10 -.LP
11 10 .nf
12 11 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lpicl\fR [ \fIlibrary\fR... ]
13 12 #include <picl.h>
14 13
15 14 \fBint\fR \fBpicl_get_propinfo\fR(\fBpicl_prophdl_t\fR \fIproph\fR,
16 15 \fBpicl_propinfo_t *\fR\fIpinfo\fR);
17 16 .fi
18 17
19 18 .SH DESCRIPTION
20 -.sp
21 -.LP
22 19 The \fBpicl_get_propinfo()\fR function gets the information about the property
23 20 specified by handle \fIproph\fR and copies it into the location specified by
24 21 \fIpinfo\fR. The property information includes the property type, access mode,
25 22 size, and the name of the property as described on \fBlibpicl\fR(3PICL) manual
26 23 page.
27 24 .sp
28 25 .LP
29 26 The maximum size of a property value is specified by \fBPICL_PROPSIZE_MAX\fR.
30 27 It is currently set to 512KB.
31 28 .SH RETURN VALUES
32 -.sp
33 -.LP
34 29 Upon successful completion, \fB0\fR is returned. On failure, a non-negative
35 30 integer is returned to indicate an error.
36 31 .sp
37 32 .LP
38 33 \fBPICL_STALEHANDLE\fR is returned if the handle is no longer valid. This
39 34 occurs if the PICL tree was refreshed or reinitialized.
40 35 .sp
41 36 .LP
42 37 \fBPICL_INVALIDHANDLE\fR is returned if the specified handle never existed.
43 38 This error may be returned for a previously valid handle if the daemon was
44 39 brought down and restarted. When this occurs a client must revalidate any saved
45 40 handles.
46 41 .SH ERRORS
47 -.sp
48 42 .ne 2
49 43 .na
50 44 \fB\fBPICL_NOTINITIALIZED\fR\fR
51 45 .ad
52 46 .RS 23n
53 47 Session not initialized
54 48 .RE
55 49
56 50 .sp
57 51 .ne 2
58 52 .na
59 53 \fB\fBPICL_NORESPONSE\fR\fR
60 54 .ad
61 55 .RS 23n
62 56 Daemon not responding
63 57 .RE
64 58
65 59 .sp
66 60 .ne 2
67 61 .na
68 62 \fB\fBPICL_NOTPROP\fR\fR
69 63 .ad
70 64 .RS 23n
71 65 Not a property
72 66 .RE
73 67
74 68 .sp
75 69 .ne 2
76 70 .na
77 71 \fB\fBPICL_INVALIDHANDLE\fR\fR
78 72 .ad
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
79 73 .RS 23n
80 74 Invalid handle specified
81 75 .RE
82 76
83 77 .sp
84 78 .ne 2
85 79 .na
86 80 \fB\fBPICL_STALEHANDLE\fR\fR
87 81 .ad
88 82 .RS 23n
89 -Stale handle specifie
83 +Stale handle specified
90 84 .RE
91 85
92 86 .sp
93 87 .ne 2
94 88 .na
95 89 \fB\fBPICL_FAILURE\fR\fR
96 90 .ad
97 91 .RS 23n
98 92 General system failure
99 93 .RE
100 94
101 95 .SH ATTRIBUTES
102 -.sp
103 -.LP
104 96 See \fBattributes\fR(5) for descriptions of the following attributes:
105 97 .sp
106 98
107 99 .sp
108 100 .TS
109 101 box;
110 102 c | c
111 103 l | l .
112 104 ATTRIBUTE TYPE ATTRIBUTE VALUE
113 105 _
114 106 MT-Level MT-Safe
115 107 .TE
116 108
117 109 .SH SEE ALSO
118 -.sp
119 -.LP
120 110 \fBlibpicl\fR(3PICL), \fBpicl_get_propval\fR(3PICL),
121 111 \fBpicl_get_propval_by_name\fR(3PICL), \fBattributes\fR(5)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX