isrewcurr(S) 6 January 1993 isrewcurr(S) Name isrewcurr - rewrite the current record Syntax cc . . . -lisam isrewcurr(isfd, record) int isfd; char *record; Description The isrewcurr function overwrites the current record in an ISAM file. You can use the following arguments with this routine: _________________________________________________________________________ Argument Description _________________________________________________________________________ isfd File descriptor identifying the ISAM file containing the record to be updated. record Character buffer whose contents are written into the file. Each index defined on the data file, including the primary index, is also updated as needed. Unchanged keys are not rewritten. The record buffer should be loaded with the new data before the call is issued. Care must be taken to ensure that fields are located properly in the buffer. On return, isrecnum is set to the rewritten record and the current record position is unchanged. On success, isrewcurr returns a positive integer. Otherwise, it returns -1 and sets iserrno to indicate the error. Example isrewcurr( bookfd, buffer ) ; See also isrewrite(S), isrewrec(S) Standards conformance isrewcurr is not part of any currently supported standard; it is an extension of AT&T System V provided by the Santa Cruz Operation.