version 1.6, 2002/10/28 08:57:28 |
version 1.9, 2016/03/31 05:27:34 |
|
|
/* |
/* |
$OpenXM: OpenXM/src/kxx/oxd.c,v 1.5 2002/10/28 00:38:32 takayama Exp $ |
$OpenXM: OpenXM/src/kxx/oxd.c,v 1.8 2004/09/17 03:28:21 takayama Exp $ |
*/ |
*/ |
|
|
#include <stdio.h> |
#include <stdio.h> |
|
|
int LocalMode = 1; |
int LocalMode = 1; |
static int findOxServer(char *server); |
static int findOxServer(char *server); |
static void couldNotFind(char *s); |
static void couldNotFind(char *s); |
#if defined(__CYGWIN__) |
|
int errno; |
|
#endif |
|
#define NOBODY 65534 |
#define NOBODY 65534 |
|
|
main(int argc, char *argv[]) { |
main(int argc, char *argv[]) { |
Line 140 childServerMain(int fd) { |
|
Line 137 childServerMain(int fd) { |
|
int st; |
int st; |
|
|
/* Starting oxd session */ |
/* Starting oxd session */ |
signal(SIGALRM,exitServer); |
mysignal(SIGALRM,exitServer); |
alarm(60); |
alarm(60); |
fp = fdopen(fd,"w+"); |
fp = fdopen(fd,"w+"); |
if (fp == NULL) oxdError("failed fdopen\n"); |
if (fp == NULL) oxdError("failed fdopen\n"); |
Line 247 oxdError(char *s) { |
|
Line 244 oxdError(char *s) { |
|
} |
} |
|
|
|
|
|
void *sGC_malloc(int n) { return (void *) GC_malloc(n); } |
|
|