X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fposix-functions%2Fmkstemp.texi;h=e461b2790a621043effed132b5242fccb7093f82;hb=599a664564268f6a1b5895c928a59459c9851b2a;hp=60e83e99f76a55aebc1b3fac129c1d91ec48a540;hpb=5ea8bedd0c6a7a8f29dcff301d126b58cc123ea8;p=pspp diff --git a/doc/posix-functions/mkstemp.texi b/doc/posix-functions/mkstemp.texi index 60e83e99f7..e461b2790a 100644 --- a/doc/posix-functions/mkstemp.texi +++ b/doc/posix-functions/mkstemp.texi @@ -12,10 +12,17 @@ Portability problems fixed by Gnulib: This function is missing on some platforms: mingw. @item +This function is declared in @code{} instead of @code{} +on some platforms: +MacOS X 10.3. +@item On some platforms (HP-UX 10.20, SunOS 4.1.4, Solaris 2.5.1), mkstemp has a silly limit that it can create no more than 26 files from a given template. On OSF/1 4.0f, it can create only 32 files per process. @item +On platforms where @code{off_t} is a 32-bit type, @code{mkstemp} may not work +correctly to create files larger than 2 GB. (Cf. @code{AC_SYS_LARGEFILE}.) +@item On some older platforms, @code{mkstemp} can create a world or group writable or readable file, if you haven't set the process umask to 077. This is a security risk.