FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
webServer.c
Go to the documentation of this file.
1
#include <string.h>
2
#include <unistd.h>
3
4
int
local_main
(
int
argc,
char
**argv);
5
6
int
main
(
int
argc,
char
**argv)
7
{
8
if
(argc) {}
9
10
char
currwd[1024];
11
strcpy(currwd, argv[0]);
12
13
char
*ptr = strrchr(currwd,
'/'
);
14
if
(ptr)
15
*ptr =
'\0'
;
16
17
strcpy(ptr,
"/../dim/WebDID/"
);
18
19
char
*arg[2] = { currwd, argv[1] };
20
return
local_main
(2, arg);
21
}
22
23
#define main local_main
24
#include "
dim/src/webDid/webServer.c
"
local_main
int local_main(int argc, char **argv)
main
#define main
Definition:
webServer.c:23
webServer.c
src
webServer.c
Generated on Sun Sep 18 2016 20:50:18 for FACT++ by
1.8.11