projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Do actual domain resolution
[carveJwlIkooP6JGAAIwe30JlM.git]
/
c0_stopgap.c
1
#include <stdio.h>
2
#include <stdarg.h>
3
FILE
*
c0_file
=
NULL
;
4
static void
c0_start
(
const char
*
fn
)
5
{
6
c0_file
=
fopen
(
fn
,
"w"
);
7
}
8
9
static void
c0_end
(
void
)
10
{
11
fclose
(
c0_file
);
12
c0_file
=
NULL
;
13
}
14
15
static void
c0_echof
(
const char
*
fmt
, ... )
16
{
17
va_list
args
;
18
va_start
(
args
,
fmt
);
19
vfprintf
(
c0_file
,
fmt
,
args
);
20
va_end
(
args
);
21
}