How to write to sVOpenArray?

How to write an array in c function using svOpenArrayHandle?

In reply to superUVM:

If you are only writing an array in C, you can use svGetArrayPtr() and cast it to a char*.