view modules/mkostemps @ 12235:1441ddf44357

stdlib-safer: wrap all mkstemp variants * modules/mkostemp (configure.ac): Set witness. * modules/mkostemps (configure.ac): Likewise. * modules/mkstemps (configure.ac): Likewise. * lib/stdlib-safer.h (mkostemp_safer, mkostemps_safer) (mkstemps_safer): Wrap more functions. * lib/stdlib--.h (mkostemp, mkostemps, mkstemps): Default the wrapping. * lib/mkstemp-safer.c (mkostemp_safer, mkostemps_safer) (mkstemps_safer): Implement the wrappers. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Mon, 02 Nov 2009 16:11:18 -0700
parents b45701f2ff71
children efab6978105e
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:
extensions
stdlib
tempname

configure.ac:
gl_FUNC_MKOSTEMPS
gl_MODULE_INDICATOR([mkostemps])
gl_STDLIB_MODULE_INDICATOR([mkostemps])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Eric Blake