Fdelall, Fdelall32
-delete all field occurrences from buffer
#include <stdio.h>
#include "fml.h"
int
Fdelall(FBFR *fbfr, FLDID fieldid)
#include "fml32.h"
int
Fdelall32(FBFR32 *fbfr, FLDID32 fieldid)
Fdelall()
deletes all occurrences of the specified field in the buffer. fbfr
is a pointer to a fielded buffer. fieldid
is a field identifier. If no occurrences of the field are found, it is considered an error.
Fdelall32
is used with 32-bit FML.
This function returns -1 on error and sets Ferror
to indicate the error condition.
Under the following conditions, Fdelall
() fails and sets Ferror
to:
[FALIGNERR]
[FNOTFLD]
Finit
().
[FNOTPRES]
[FBADFLD]
Fintro
(3)Fdel
(3)Fdelete
(3)