diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-31 07:49:38 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-31 07:49:38 -0700 |
commit | fdb8f90b22f8d4993b5937d55f5cbffc45ae940c (patch) | |
tree | 30f6c8cd4f9318010f8bbe0d8558806af7358cc8 /rand.c | |
parent | 93454f1fc069d7d5a0af7b2aa1c773949b59d106 (diff) | |
download | txr-fdb8f90b22f8d4993b5937d55f5cbffc45ae940c.tar.gz txr-fdb8f90b22f8d4993b5937d55f5cbffc45ae940c.tar.bz2 txr-fdb8f90b22f8d4993b5937d55f5cbffc45ae940c.zip |
New: mkdtemp and mkstemp functions.
* configure: check for mkstemp and mkdtemp.
* stream.c (stdio_set_prop): Implement setting the :name
property. We need this in mkstemp_wrap in order to punch in
the temporary name, so that the application can retrieve it.
(mkdtemp_wrap, mkstemp_wrap): New functions.
(stream_init): Register mkdtemp and mkstemp intrinsics.
* stream.h (mkdtemp_wrap, mkstemp_wrap): Declared.
* txr.1: Documented.
* share/txr/stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'rand.c')
0 files changed, 0 insertions, 0 deletions