Write to file.

Call:

int ires = ts_file(int iFileDescr, "write", string stowrite);


Here:

iFileDescr - file object descriptor, stowrite - string to write to the file. Returns 0 if the write was successful. The number of written characters can be read using the ac_getnumvalue() function;