This function opens output signal files. Use it only if signals are to be written using WFDB_putvec. The signal specifications, including the file names, are read from the header file for a specified record and returned in the structure array S. Unmodified MIT or AHA database `hea' files cannot be used, since WFDB_osigopen would attempt to overwrite the (write-protected) signal files named within. If RECORD begins with `+', previously opened output signal files are left open, and the record name is taken to be the remainder of RECORD after discarding the `+'. Otherwise, osigopen closes any previously opened output signal files, and takes all of RECORD as the record name. S is a WFDB_Siginfo structure array which, on return, will be filled with the signal specifications.
No more than NSIG (additional) output signals will be opened by WFDB_osigopen, even if the header file contains specifications for more than NSIG signals.
See also: WFDB_Siginfo (3.7.3), WFDB_putvec (3.3.2)