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.man.txt
+++ new/usr/src/man/man3curses/form_field_buffer.3curses.man.txt
1 1 FORM_FIELD_BUFFER(3CURSES) Curses Library Functions
2 2
3 3
4 4
5 5 NAME
6 6 form_field_buffer, set_field_buffer, field_buffer, set_field_status,
7 7 field_status, set_max_field - set and get forms field attributes
8 8
9 9 SYNOPSIS
10 10 cc [ flag... ] file... -lform -lcurses [ library... ]
11 11 #include <form.h>
12 12
13 13
14 14
15 15 int set_field_buffer(FIELD *field, int buf, char *value);
16 16
17 17
18 18 char *field_buffer(FIELD *field, int buf);
19 19
20 20
21 21 int set_field_status(FIELD *field, int status);
22 22
23 23
24 24 int field_status(FIELD *field);
25 25
26 26
27 27 int set_max_field(FIELD *field, int max);
28 28
29 29
30 30 DESCRIPTION
31 31 set_field_buffer() sets buffer buf of field to value. Buffer 0 stores
32 32 the displayed contents of the field. Buffers other than 0 are
33 33 application specific and not used by the forms library routines.
34 34 field_buffer() returns the value of field buffer buf.
35 35
36 36
37 37 Every field has an associated status flag that is set whenever the
38 38 contents of field buffer 0 changes. set_field_status() sets the status
39 39 flag of field to status. field_status() returns the status of field.
40 40
41 41
42 42 set_max_field() sets a maximum growth on a dynamic field, or if max=0
43 43 turns off any maximum growth.
44 44
45 45 RETURN VALUES
↓ open down ↓ |
45 lines elided |
↑ open up ↑ |
46 46 field_buffer() returns NULL on error.
47 47
48 48
49 49 field_status() returns TRUE or FALSE.
50 50
51 51
52 52 set_field_buffer(), set_field_status(), and set_max_field() return one
53 53 of the following:
54 54
55 55 E_OK
56 - Thefunction returned successfully.
56 + The function returned successfully.
57 57
58 58
59 59 E_SYSTEM_ERROR
60 60 System error
61 61
62 62
63 63 E_BAD_ARGUMENT
64 64 An argument is incorrect.
65 65
66 66
67 67 ATTRIBUTES
68 68 See attributes(5) for descriptions of the following attributes:
69 69
70 70
71 71
72 72
73 73 +---------------+-----------------+
74 74 |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
75 75 +---------------+-----------------+
76 76 |MT-Level | Unsafe |
77 77 +---------------+-----------------+
78 78
79 79 SEE ALSO
80 80 curses(3CURSES), forms(3CURSES), attributes(5)
81 81
82 82 NOTES
83 83 The header <form.h> automatically includes the headers <eti.h> and
84 84 <curses.h>.
85 85
86 86
87 87
88 88 December 31, 1996 FORM_FIELD_BUFFER(3CURSES)
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX