summaryrefslogtreecommitdiff
path: root/modules/freopen-safer
blob: 8b1e8655a2ff008daa880cd9e38c75cb534732b0 (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
Description:
freopen function that avoids clobbering std{in,out,err}.

Files:
lib/stdio--.h
lib/stdio-safer.h
lib/freopen-safer.c

Depends-on:
attribute
dup2
freopen
open
stdbool

configure.ac:
gl_MODULE_INDICATOR([freopen-safer])

Makefile.am:
lib_SOURCES += freopen-safer.c

Include:
"stdio-safer.h"

License:
GPL

Maintainer:
Eric Blake