1
ERROR: Fielded buffer not aligned
Description
An FML function was called with a fielded buffer that is not properly aligned. Most machines require half-word alignment.
Action
Use Falloc to get back a dynamically allocated, properly aligned buffer.
Falloc
See Also
Falloc(3fml)
2
ERROR: Buffer not fielded
A buffer was passed to an FML function that is not a fielded buffer, that is, that has not been properly initialized.
Use Finit to initialize a buffer allocated directly by the application, or use Falloc dynamically to allocate and initialize a fielded buffer.
Finit
Falloc(3fml), Finit(3fml)
3
ERROR: No space in fielded buffer
An attempt was made to add a field to a buffer, change a field to a larger value within a buffer, merge two buffers, or otherwise modify a buffer, and not enough space is available to complete the operation.
Use Frealloc dynamically to allocate a larger buffer or use Fcpy to copy the buffer to a larger buffer, and retry the operation.
Frealloc
Fcpy
Fcpy(3fml), Frealloc(3fml)
4
ERROR: Field not present
When trying to find, change, or delete a field, the specified field identifier and/or field occurrence did not exist in the fielded buffer.
Check your request to make sure you have specified a field that is in the buffer.
Fchg(3fml), Fdelete(3fml) Ffind(3fml)
Fchg
Fdelete
Ffind
5
ERROR: Unknown field number or type
An invalid field identifier was specified for an FML function, or an invalid field number (0 or greater than 8192) was specified, or Fname could not find the associated field identifier for the specified name.
Fname
Most of the FML functions can return this error; see the manual page associated with the function that returned this error. Check your code to make sure the field specified is valid.
6
ERROR: Invalid field type
An invalid (unknown) field type was specified to an FML function, or an invalid type was specified for a particular operation (for example, a non-string field was specified for a string operation).
Specify the proper field type or field identifier.
Fmkfldid(3fml), Ftypcvt(3fml), Ftype(3fml), Fvall(3fml), Fvals(3fml)
Fmkfldid
Ftypcvt
Ftype
Fvall
Fvals
7
ERROR: UNIX system call error
An error occurred during a UNIX system call when opening a field table file or view description file, or when reading or writing an FML buffer.
Check that the environment variables are set correctly for the field table and view files, and that the files have read permission.
Fread(3fml), Fwrite(3fml), Fextread(3fml), field_tables(5), viewfile(5)
Fread
Fwrite
Fextread
field_tables
viewfile
8
ERROR: Unknown field name
A field name could not be mapped into a field identifier.
Check that the environment variables are set correctly for the field table files and that the files have read permission.
Fldid(3fml), Fextread(3fml), field_tables(5)
Fldid
9
ERROR: Memory allocation failed
An attempt dynamically to allocate memory from the operating system using malloc() failed.
malloc()
Make sure the operating system parameters are set correctly for the amount of memory on the machine and the amount of memory that can be used by a process. Reduce the memory usage on the machine or increase the amount of physical memory on the machine.
10
ERROR: Bad syntax in boolean expression
The syntax of a boolean expression passed to Fboolco is invalid. This message is also generated on failure to evaluate the boolean expression in Fboolev and Ffloatev and indicates that an invalid or corrupted value was passed to these functions. It is also generated when an invalid input format is read by Fextread.
Fboolco
Fboolev
Ffloatev
Correct the format of the boolean expression being processed by Fboolco or the external FML buffer format being processed by Fextread.
Fboolco(3fml), Fextread(3fml)
11
ERROR: Cannot find or open field table
When processing the field tables, one of the field tables was not found.
field_tables(5)
13
ERROR: Invalid argument to function
An invalid argument (other than an invalid fielded buffer, field identifier, or field type) was passed to an FML function. This can be a NULL parameter where a non-NULL parameter was expected, invalid buffer sizes, etc.
NULL
See the manual page associated with the error return for the correct parameter values.
14
ERROR: Destructive concurrent access to field table
While reading the FML field tables, the program detected a concurrent change to the tables by another process.
Re-execute the program after the FML field tables have been updated.
15
ERROR: Cannot find or get view
A NULL or invalid view name was specified to an FML view function.
Correct the view name and check that the environment variables are set correctly for the view files and that the files have read permission.
viewfile(5)
16
ERROR: Syntax error in viewfile
A specified view file (suffixed with .V) is not in view file format (for example, does not have the correct magic number or format).
.V
Check that the environment variables are set correctly for the view files and that the view files are correctly compiled for the local machine.
viewc(1), viewfile(5)
viewc
17
ERROR: Cannot find or open viewfile
When processing the view files, one of the view files was not found.
Check that the environment variables are set correctly for the view files and that the files have read permission.
18
ERROR: ACM contains negative value
When executing Fvstof to transfer data from a structure to a fielded buffer, an Associated Count Member value was negative.
Fvstof
Correct the structure ACM value.
ACM
Fvstof(3fml), viewfile(5)
19
ERROR: Cname not found
When executing Fvopt, Fvnull, or Fvselinit, an unknown name was specified for an element in the view.
Fvopt
Fvnull
Fvselinit
Check the view description and use the correct element name.
Fvopt(3fml), Fvnull(3fml), Fvselinit(3fml), viewfile(5)