Fmkfldid, Fmkfldid32-make a field identifier
#include <stdio.h>
#include "fml.h"
FLDID
Fmkfldid(int type, FLDID num)
#include "fml.h"
FLDID32
Fmkfldid32(int type, FLDID32 num)
Fmkfldid() allows the creation of a valid field identifier from a valid type (as defined in fml.h) and a field number. This is useful for writing an application generator that chooses field numbers sequentially, or for recreating a field identifier.
type is a valid type (an integer; see Fldtype(3)). num is a field number (it should be an unused field number, to avoid confusion with existing fields)
Fmkfldid32 is used with 32-bit FML.
This function returns BADFLDID on error and sets Ferror to indicate the error condition.
Under the following conditions, Fmkfldid() fails and sets Ferror to:
[FBADFLD]
[FTYPERR]
fml.h).
Fintro(3), Fldtype(3)