Print this page
10067 Miscellaneous man page typos
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Reviewed by: Volker A. Brandt <vab@bb-c.de>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3curses/form_field_buffer.3curses
+++ new/usr/src/man/man3curses/form_field_buffer.3curses
1 1 '\" te
2 2 .\" Copyright 1989 AT&T
3 3 .\" Portions Copyright (c) 1996, Sun Microsystems, Inc. All Rights Reserved.
4 4 .\" 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.
5 5 .\" 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.
6 6 .\" 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]
7 7 .TH FORM_FIELD_BUFFER 3CURSES "Dec 31, 1996"
8 8 .SH NAME
9 9 form_field_buffer, set_field_buffer, field_buffer, set_field_status,
10 10 field_status, set_max_field \- set and get forms field attributes
11 11 .SH SYNOPSIS
12 12 .LP
13 13 .nf
14 14 \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lform\fR \fB -lcurses \fR [ \fIlibrary\fR... ]
15 15 #include <form.h>
16 16
17 17
18 18
19 19 \fBint\fR \fBset_field_buffer\fR(\fBFIELD *\fR\fIfield\fR, \fBint\fR \fIbuf\fR, \fBchar *\fR\fIvalue\fR);
20 20 .fi
21 21
22 22 .LP
23 23 .nf
24 24 \fBchar *\fR\fBfield_buffer\fR(\fBFIELD *\fR\fIfield\fR, \fBint\fR \fIbuf\fR);
25 25 .fi
26 26
27 27 .LP
28 28 .nf
29 29 \fBint\fR \fBset_field_status\fR(\fBFIELD *\fR\fIfield\fR, \fBint\fR \fIstatus\fR);
30 30 .fi
31 31
32 32 .LP
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
33 33 .nf
34 34 \fBint\fR \fBfield_status\fR(\fBFIELD *\fR\fIfield\fR);
35 35 .fi
36 36
37 37 .LP
38 38 .nf
39 39 \fBint\fR \fBset_max_field\fR(\fBFIELD *\fR\fIfield\fR, \fBint\fR \fImax\fR);
40 40 .fi
41 41
42 42 .SH DESCRIPTION
43 -.sp
44 43 .LP
45 44 \fBset_field_buffer()\fR sets buffer \fIbuf\fR of \fIfield\fR to \fIvalue\fR.
46 45 Buffer 0 stores the displayed contents of the field. Buffers other than 0 are
47 46 application specific and not used by the \fBforms\fR library routines.
48 47 \fBfield_buffer()\fR returns the value of \fIfield\fR buffer \fIbuf\fR.
49 48 .sp
50 49 .LP
51 50 Every field has an associated status flag that is set whenever the contents of
52 51 field buffer 0 changes. \fBset_field_status()\fR sets the status flag of
53 52 \fIfield\fR to \fIstatus\fR. \fBfield_status()\fR returns the status of
54 53 \fIfield\fR.
55 54 .sp
56 55 .LP
57 56 \fBset_max_field()\fR sets a maximum growth on a dynamic field, or if
58 57 \fImax=\fR\fB0\fR turns off any maximum growth.
59 58 .SH RETURN VALUES
60 -.sp
61 59 .LP
62 60 \fBfield_buffer()\fR returns \fINULL\fR on error.
63 61 .sp
64 62 .LP
65 63 \fBfield_status()\fR returns \fBTRUE\fR or \fBFALSE\fR.
66 64 .sp
67 65 .LP
68 66 \fBset_field_buffer()\fR, \fBset_field_status()\fR, and \fBset_max_field()\fR
69 67 return one of the following:
70 68 .sp
71 69 .ne 2
72 70 .na
73 71 \fBE_OK\fR
74 72 .ad
75 73 .RS 18n
76 -Thefunction returned successfully.
74 +The function returned successfully.
77 75 .RE
78 76
79 77 .sp
80 78 .ne 2
81 79 .na
82 80 \fBE_SYSTEM_ERROR\fR
83 81 .ad
84 82 .RS 18n
85 83 System error
86 84 .RE
87 85
↓ open down ↓ |
1 lines elided |
↑ open up ↑ |
88 86 .sp
89 87 .ne 2
90 88 .na
91 89 \fBE_BAD_ARGUMENT\fR
92 90 .ad
93 91 .RS 18n
94 92 An argument is incorrect.
95 93 .RE
96 94
97 95 .SH ATTRIBUTES
98 -.sp
99 96 .LP
100 97 See \fBattributes\fR(5) for descriptions of the following attributes:
101 98 .sp
102 99
103 100 .sp
104 101 .TS
105 102 box;
106 103 c | c
107 104 l | l .
108 105 ATTRIBUTE TYPE ATTRIBUTE VALUE
109 106 _
110 107 MT-Level Unsafe
111 108 .TE
112 109
113 110 .SH SEE ALSO
114 -.sp
115 111 .LP
116 112 \fBcurses\fR(3CURSES), \fBforms\fR(3CURSES), \fBattributes\fR(5)
117 113 .SH NOTES
118 -.sp
119 114 .LP
120 115 The header \fB<form.h>\fR automatically includes the headers \fB<eti.h>\fR and
121 116 \fB<curses.h>\fR\&.
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX