|
|
Fdelall, Fdelall32(3fml)
Name
Fdelall(), Fdelall32() - delete all field occurrences from buffer
Synopsis
#include <stdio.h>
#include "fml.h"
int
Fdelall(FBFR *fbfr, FLDID fieldid)
#include "fml32.h"
int
Fdelall32(FBFR32 *fbfr, FLDID32 fieldid)
Description
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.
For values of type FLD_PTR, Fdelall32() deletes the FLD_PTR field occurrence without changing the referenced buffer or freeing the pointer. The data buffer is treated as an opaque pointer.
Fdelall32() is used with 32-bit FML.
A thread in a multithreaded application may issue a call to Fdelall() or Fdelall32() while running in any context state, including TPINVALIDCONTEXT.
Return Values
This function returns -1 on error and sets Ferror to indicate the error condition.
Errors
Under the following conditions, Fdelall() fails and sets Ferror to:
The buffer does not begin on the proper boundary.
The buffer is not a fielded buffer or has not been initialized by Finit().
A field is requested but the specified field was not found in the fielded buffer.
A field identifier is specified which is not valid.
See Also
Introduction to FML Functions, Fdel, Fdel32(3fml), Fdelete, Fdelete32(3fml)
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|