Update the data of the current record
Update the data of the current recordThe current record of the file is updated with the new data given.
RESTRICTIONS:
- the file must be open for update,
- if the new datalen of the record is not bigger than the old datalen, the data will be updated in place, otherwise the new data of the record will be appended to the file, the space previously used for the data of the record will not be reused in this case,
- data must point to the new data be inserted,
- datalen must not be negative,
- if datalen == 0, the pointer data is not evaluated at all