Main index | Section 3 | Options |
The function dup_field duplicates a field at a new location. Most attributes (including current contents, size, validation type, buffer count, growth threshold, justification, foreground, background, pad character, options, and user pointer) are copied. Field status and the field page bit are not copied.
The function link_field acts like dup_field, but the new field shares buffers with its parent. Attribute data is separate.
The function free_field de-allocates storage associated with a field.
E_OK | The routine succeeded. |
E_BAD_ARGUMENT | |
Routine detected an incorrect or out-of-range argument. | |
E_SYSTEM_ERROR | |
System error occurred, e.g., malloc failure. | |
The function free_field returns one of the following: | |
E_OK | The routine succeeded. |
E_BAD_ARGUMENT | |
Routine detected an incorrect or out-of-range argument. | |
E_CONNECTED | |
field is connected. | |
It may be unwise to count on the set of attributes copied by dup_field being portable; the System V forms library documents are not very explicit about what gets copied and what does not.
form_field_new (3X) |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.