** file: d_addrec.c
** purpose: routine to append a record to a open dbaseiii file.
** usage: d = (struct DBF *)malloc(sizeof(struct DBF));
** ... put desired data into memory at location pointed to by
** d->record_ptr ...
** notes: compile with "tcc -c d_addrec". include this file in dbf.li
** see dbf.h for structure of DBF
** author: Mark Sadler
** revised: 6/6/87
int d_addrec(struct DBF *d)
fseek(d->file_ptr,((long)d->header_length + (d->records * d->record_length)),0);
d->current_record = ++d->records;
d->status = updated;