iswrcurr(S) 6 January 1993 iswrcurr(S) Name iswrcurr - write a new record and make it current Syntax cc . . . -lisam iswrcurr (isfd, record) int isfd; char *record; Description The iswrcurr function writes a new record into an ISAM file. You can use the following arguments with this routine: _________________________________________________________________________ Argument Description _________________________________________________________________________ isfd File descriptor identifying the ISAM file in which the record is being written. record Character buffer holding the data to be written into the file. When you use iswrcurr, care must be taken to ensure values are located properly in their fields in the record buffer prior to calling the func- tion. If the function executes successfully, the current record position pointer and isrecnum are both set to the new record. Any indexes are updated as needed. If the record contains any duplicate values in fields that are defined with NODUPS attribute, an error is produced and no record is written. On success, iswrcurr returns 0. Otherwise, it returns -1 and sets iserrno to indicate the error. Example iswrcurr( bookfd, buffer ) ; See also iswrite(S) Standards conformance iswrcurr is not part of any currently supported standard; it is an exten- sion of AT&T System V provided by the Santa Cruz Operation.