long ( text-window-save-file long window-id string filename)
Saves the text in the subwindow to the given file, returning 1 for success, 0 for failure.