_FILEOpenTemp
Creates and opens a physical temporary file. Creates a Scol object.
Prototype :
fun [Chn] FileTemp
- Chn : a channel, typically, the current channel
Return : FileTemp the new object if all is ok or nil if an error occurs
Error :
- EOK if no error.
- EARGNIL or ECHN if the channel is nil.
- ECREATE if the temporary file is not created. If the log is activated,
the return of errno is provided :
- on MS Windows : EINVAL
- on GNU / Linux : EACCES, EEXIST, EINTR, EMFILE, ENFILE, ENOSPC, EROFS
- EFATHER if a father error occurs.
- ETYPE if a type error occurs. The VM exits immediately after that.
- EVM if a memory error occurs. The VM exits immediately after that. See the log, if activated.
See also
Example
Notes