mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-26 23:52:30 +01:00
19 lines
355 B
C
19 lines
355 B
C
|
#include <stdio.h>
|
||
|
|
||
|
/** Trivial test program which prints out its command line arguments so we can
|
||
|
* check if tor_spawn_background() works */
|
||
|
int
|
||
|
main(int argc, char **argv)
|
||
|
{
|
||
|
int i;
|
||
|
|
||
|
fprintf(stdout, "OUT\n");
|
||
|
fprintf(stderr, "ERR\n");
|
||
|
for (i = 0; i < argc; i++)
|
||
|
fprintf(stdout, "%s\n", argv[i]);
|
||
|
fprintf(stdout, "DONE\n");
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|