fork3d.c revision 3f54fd611f536639ec30dd53c48e5ec1897cc7d9
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1989-2011 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Eduardo Krell <ekrell@adexus.cl> *
* *
***********************************************************************/
#pragma prototyped
#include "3d.h"
#if FS
#include <cs.h>
/*
* called in the child process by fork()
*/
static void
{
register int fd;
char* type;
long addr;
long port;
long clone;
int nfd;
char* b;
reclaim();
{
}
{
if (!fscall(mp, MSG_INIT(MSG_fork, 01511, 0), ppid, state.path.name, sizeof(state.path.name)) && state.ret > 0)
{
while (*b && *b != ' ') b++;
if (*b) *b++ = 0;
else
{
}
if (fd >= 0)
{
}
}
break;
case FS_MONITOR|FS_ON:
break;
}
}
#endif
#ifdef fork3d
fork3d(void)
{
initialize();
{
pid = 0;
#if FS
#else
#endif
}
#if FS
else
{
}
#endif
return(pid);
}
#else
#endif