Mercurial > gnulib
view doc/posix-functions/tmpfile.texi @ 40160:5c7e0484c1e9
tmpfile: Add support for Android.
* m4/tmpfile.m4 (gl_FUNC_TMPFILE): Add a runtime test whether tmpfile()
works.
* lib/tmpfile.c (tmpfile): Add an alternative implementation for
Android.
* modules/tmpfile (Depends-on): Add 'stdbool'.
* doc/posix-functions/tmpfile.texi: Mention the Android bug.
* modules/argv-iter-tests (Depends-on): Add 'tmpfile'.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 27 Jan 2019 22:03:14 +0100 |
parents | b8576602c861 |
children |
line wrap: on
line source
@node tmpfile @section @code{tmpfile} @findex tmpfile POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/tmpfile.html} Gnulib module: tmpfile Portability problems fixed by Gnulib: @itemize @item This function always fails on some platforms: Android 4.3. @item This function often fails for trivial reasons on some platforms: mingw, MSVC 14. @item On platforms where @code{off_t} is a 32-bit type, @code{tmpfile} may not work correctly to create files larger than 2 GB. (Cf. @code{AC_SYS_LARGEFILE}.) @end itemize Portability problems not fixed by Gnulib: @itemize @end itemize