view modules/mkostemps @ 40164:b973ad598121

Fix build error when building a shared libunistring on Android. * tests/uninorm/test-nfc.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference. * tests/uninorm/test-nfd.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference. * tests/uninorm/test-nfkc.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference. * tests/uninorm/test-nfkd.c (n): Don't define on Android. (main): Add 'volatile', to defeat a GCC optimization that would eliminate the reference.
author Bruno Haible <bruno@clisp.org>
date Mon, 28 Jan 2019 21:14:08 +0100
parents 51231c56c0a1
children
line wrap: on
line source

Description:
mkostemps() function: create a private temporary file, with specific opening
flags, and with suffix.

Files:
lib/mkostemps.c
m4/mkostemps.m4

Depends-on:
stdlib
extensions
largefile
tempname        [test $HAVE_MKOSTEMPS = 0]

configure.ac:
gl_FUNC_MKOSTEMPS
if test $HAVE_MKOSTEMPS = 0; then
  AC_LIBOBJ([mkostemps])
fi
gl_MODULE_INDICATOR([mkostemps])
gl_STDLIB_MODULE_INDICATOR([mkostemps])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Eric Blake