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_new.3curses.man.txt
+++ new/usr/src/man/man3curses/form_field_new.3curses.man.txt
1 1 FORM_FIELD_NEW(3CURSES) Curses Library Functions FORM_FIELD_NEW(3CURSES)
2 2
3 3
4 4
5 5 NAME
6 6 form_field_new, new_field, dup_field, link_field, free_field - create
7 7 and destroy forms fields
8 8
9 9 SYNOPSIS
10 10 cc [ flag... ] file... -lform -lcurses [ library... ]
11 11 #include <form.h>
12 12
13 13 FIELD *new_field(int r, int c, int frow, int fcol, int nrow, int ncol);
14 14
15 15
16 16 FIELD *dup_field(FIELD *field, int frow, int fcol);
17 17
18 18
19 19 FIELD *link_field(FIELD *field, int frow, int fcol);
20 20
21 21
22 22 int free_field(FIELD *field);
23 23
24 24
25 25 DESCRIPTION
26 26 new_field() creates a new field with r rows and c columns, starting at
27 27 frow, fcol, in the subwindow of a form. nrow is the number of off-
28 28 screen rows and nbuf is the number of additional working buffers. This
29 29 routine returns a pointer to the new field.
30 30
31 31
32 32 dup_field() duplicates field at the specified location. All field
33 33 attributes are duplicated, including the current contents of the field
34 34 buffers.
35 35
36 36
37 37 link_field() also duplicates field at the specified location. However,
38 38 unlike dup_field(), the new field shares the field buffers with the
39 39 original field. After creation, the attributes of the new field can be
↓ open down ↓ |
39 lines elided |
↑ open up ↑ |
40 40 changed without affecting the original field.
41 41
42 42
43 43 free_field() frees the storage allocated for field.
44 44
45 45 RETURN VALUES
46 46 Routines that return pointers return NULL on error. free_field()
47 47 returns one of the following:
48 48
49 49 E_OK
50 - Thefunction returned successfully.
50 + The function returned successfully.
51 51
52 52
53 53 E_CONNECTED
54 54 The field is already connected to a form.
55 55
56 56
57 57 E_SYSTEM_ERROR
58 58 System error.
59 59
60 60
61 61 E_BAD_ARGUMENT
62 62 An argument is incorrect.
63 63
64 64
65 65 ATTRIBUTES
66 66 See attributes(5) for descriptions of the following attributes:
67 67
68 68
69 69
70 70
71 71 +---------------+-----------------+
72 72 |ATTRIBUTE TYPE | ATTRIBUTE VALUE |
73 73 +---------------+-----------------+
74 74 |MT-Level | Unsafe |
75 75 +---------------+-----------------+
76 76
77 77 SEE ALSO
78 78 curses(3CURSES), forms(3CURSES), attributes(5)
79 79
80 80 NOTES
81 81 The header <form.h> automatically includes the headers <eti.h> and
82 82 <curses.h>.
83 83
84 84
85 85
86 86 December 31, 1996 FORM_FIELD_NEW(3CURSES)
↓ open down ↓ |
26 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX