git.ucc.asn.au
/
ipdf
/
code.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Tweak Makefile to make testing nicer
[ipdf/code.git]
/
src
/
main.cpp
1
#include "main.h"
2
#include <unistd.h> // Because we can.
3
int main(int argc, char ** argv)
4
{
5
Document doc;
6
if (argc > 1)
7
{
8
for (int i = 2; i < argc; ++i)
9
{
10
if (fork() == 0) doc.Load(argv[i]);
11
}
12
doc.Load(argv[1]);
13
}
14
MainLoop(doc);
15
return 0;
16
}
UCC
git Repository :: git.ucc.asn.au