I migrate some C programs from a legacy isam to mysql. I can not change the
because there are over than 300.000 lines of C code !
So I'm rewriting only the legacy I/O isam calls (like open_isam, add_key,
read_record, write_record, close_isam and so on..).
I have a problem: these programs recall each other trough execve() system
maintaining the connection to the ISAM files opened (and record locks also
read_record_and_lock(fd,recnum,rec); /* READ AND LOCK record rec */
save_var_to_shared_memory() /* save all variables on shared memory ...