mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-02 13:00:26 +02:00
(File System): In mkstemp!, note 0600 creation mode.
This commit is contained in:
parent
3a40d5e117
commit
24ec486cf7
1 changed files with 4 additions and 0 deletions
|
@ -872,9 +872,13 @@ Care should be taken if opening the file, e.g., use the
|
|||
@deffnx {C Function} scm_mkstemp (tmpl)
|
||||
Create a new unique file in the file system and returns a new
|
||||
buffered port open for reading and writing to the file.
|
||||
|
||||
@var{tmpl} is a string specifying where the file should be
|
||||
created: it must end with @samp{XXXXXX} and will be changed in
|
||||
place to return the name of the temporary file.
|
||||
|
||||
The file is created with mode @code{0600}, which means read and write
|
||||
for the owner only. @code{chmod} can be used to change this.
|
||||
@end deffn
|
||||
|
||||
@deffn {Scheme Procedure} dirname filename
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue