summaryrefslogtreecommitdiff
path: root/modules/tmpfile
blob: 261189c65712bed50b26bf4f7221d155ab6ad24d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description:
tmpfile() function: create a temporary file.

Files:
lib/tmpfile.c
m4/tmpfile.m4

Depends-on:
stdio
largefile
pathmax         [test $REPLACE_TMPFILE = 1]
stdbool         [test $REPLACE_TMPFILE = 1]
tempname        [test $REPLACE_TMPFILE = 1]
tmpdir          [test $REPLACE_TMPFILE = 1]

configure.ac:
gl_FUNC_TMPFILE
gl_CONDITIONAL([GL_COND_OBJ_TMPFILE], [test $REPLACE_TMPFILE = 1])
AM_COND_IF([GL_COND_OBJ_TMPFILE], [
  gl_PREREQ_TMPFILE
])
gl_STDIO_MODULE_INDICATOR([tmpfile])

Makefile.am:
if GL_COND_OBJ_TMPFILE
lib_SOURCES += tmpfile.c
endif

Include:
<stdio.h>

Link:
$(GETRANDOM_LIB)
$(CLOCK_TIME_LIB)

License:
LGPL

Maintainer:
Ben Pfaff