isdelete(S) 6 January 1993 isdelete(S) Name isdelete - delete record specified by primary key Syntax cc . . . -lisam isdelete (isfd, record) int isfd; char *record; Description The isdelete function deletes a record from a file using a key value. You can use the following arguments with this routine: _________________________________________________________________________ Argument Description _________________________________________________________________________ isfd File descriptor identifying a currently open ISAM file. record Search value pertaining to the current key of the record to be deleted. If duplicate primary keys are allowed, then isdelete should not be used and the isread and isdelcurr functions should be used instead. Any index entries associated with the deleted record are also deleted. The isrecnum pointer is set to the record just deleted, and the current record position is unchanged. You must open the file with the ISINOUT option. Otherwise, the operation fails. On success, isdelete returns 0. Otherwise, it returns -1 and sets iserrno to indicate the error. Example isdelete(bookfd, buffer) ; See also isdelcurr(S), isdelrec(S) Standards conformance isdelete is not part of any currently supported standard; it is an exten- sion of AT&T System V provided by the Santa Cruz Operation.