mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* * posix.c (scm_tmpnam): New function.
This commit is contained in:
parent
19a18b54db
commit
9ee5fce45d
1 changed files with 11 additions and 0 deletions
|
@ -848,6 +848,17 @@ scm_environ (env)
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef L_tmpnam
|
||||
|
||||
SCM_PROC (s_tmpnam, "tmpnam", 0, 0, 0, scm_tmpnam);
|
||||
|
||||
SCM scm_tmpnam()
|
||||
{
|
||||
char name[L_tmpnam];
|
||||
SCM_SYSCALL (tmpnam (name););
|
||||
return scm_makfrom0str (name);
|
||||
}
|
||||
#endif
|
||||
|
||||
SCM_PROC (s_open_pipe, "open-pipe", 2, 0, 0, scm_open_pipe);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue