1
Fork 0
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:
Kevin Ryde 2005-01-07 23:29:33 +00:00
parent 3a40d5e117
commit 24ec486cf7

View file

@ -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