xo::write_tmp_file (public)
xo::write_tmp_file varFilename content
Defined in packages/xotcl-core/tcl/utilities-procs.tcl
Write binary content to a temporary file and set its path in the caller.
- Parameters:
- varFilename (required)
- Name of the caller variable to receive the path.
- content (required)
- Bytes to write.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: upvar $varFilename tmpFileName set F [file tempfile tmpFileName] fconfigure $F -translation binary puts -nonewline $F $content close $FXQL Not present: Generic, PostgreSQL, Oracle