diff options
author | Andreas Schwab <schwab@suse.de> | 1999-03-29 02:31:34 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1999-03-29 02:31:34 +0000 |
commit | b47516084bfba8471da0bdb58641c0d27e6e48b5 (patch) | |
tree | c846204298ae0b690e826115faf106addd005066 /manual | |
parent | bce4e8006770644963bcf20a3fbe96f46383f76f (diff) | |
download | glibc-b47516084bfba8471da0bdb58641c0d27e6e48b5.tar.gz glibc-b47516084bfba8471da0bdb58641c0d27e6e48b5.tar.xz glibc-b47516084bfba8471da0bdb58641c0d27e6e48b5.zip |
Updated.
1999-03-27 Andreas Jaeger <aj@arthur.rhein-neckar.de> * malloc/obstack.h (obstack_free): Explicitly convert __obj to char * to avoid C++ warning. Patch by yasushi@cs.washington.edu [PR libc/1035]. 1999-03-29 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/filesys.texi (Temporary Files): mktemp and mkstemp are declared in stdlib.h, correct return value of mkstemp. Reported by Andries Brouwer <Andries.Brouwer@cwi.nl>. * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHDRD_FC*): New defines from Linux 2.2.5. * misc/regexp.h (compile): Cast some pointers to (char *) to avoid C++ warning.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/filesys.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/manual/filesys.texi b/manual/filesys.texi index b00ca66c92..d823674d47 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -2852,7 +2852,7 @@ String constants are normally in read-only storage, so your program would crash when @code{mktemp} or @code{mkstemp} tried to modify the string. -@comment unistd.h +@comment stdlib.h @comment Unix @deftypefun {char *} mktemp (char *@var{template}) The @code{mktemp} function generates a unique file name by modifying @@ -2870,7 +2870,7 @@ the file in any case should use the @code{O_EXCL} flag. Using @code{mkstemp} is a safe way to avoid this problem. @end deftypefun -@comment unistd.h +@comment stdlib.h @comment BSD @deftypefun int mkstemp (char *@var{template}) The @code{mkstemp} function generates a unique file name just as @@ -2878,9 +2878,9 @@ The @code{mkstemp} function generates a unique file name just as (@pxref{Opening and Closing Files}). If successful, it modifies @var{template} in place and returns a file descriptor open on that file for reading and writing. If @code{mkstemp} cannot create a -uniquely-named file, it makes @var{template} an empty string and returns -@code{-1}. If @var{template} does not end with @samp{XXXXXX}, -@code{mkstemp} returns @code{-1} and does not modify @var{template}. +uniquely-named file, it returns @code{-1}. If @var{template} does not +end with @samp{XXXXXX}, @code{mkstemp} returns @code{-1} and does not +modify @var{template}. The file is opened using mode @code{0600}. If the file is meant to be used by other users the mode must explicitly changed. |