summaryrefslogtreecommitdiff
path: root/modules/freopen
blob: c7bcdc04e62bde0e272bc68f47fb0d205b4a1385 (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
Description:
freopen() function: open a stream to a file.

Files:
lib/freopen.c
m4/freopen.m4

Depends-on:
fcntl-h        [test $REPLACE_FREOPEN = 1]
open           [test $REPLACE_FREOPEN = 1]
stdio
largefile

configure.ac:
gl_FUNC_FREOPEN
gl_CONDITIONAL([GL_COND_OBJ_FREOPEN], [test $REPLACE_FREOPEN = 1])
AM_COND_IF([GL_COND_OBJ_FREOPEN], [
  gl_PREREQ_FREOPEN
])
gl_STDIO_MODULE_INDICATOR([freopen])

Makefile.am:
if GL_COND_OBJ_FREOPEN
lib_SOURCES += freopen.c
endif

Include:
<stdio.h>

License:
LGPL

Maintainer:
all