/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1990-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> *
* *
***********************************************************************/
#pragma prototyped
/*
* syscall message server side receipt
*/
#include "msglib.h"
/*
* blast message from msg->data,msg->size into msg->argv
*/
{
register long n;
register unsigned long at;
long r;
char* b;
char* e;
long* np;
return -1;
{
}
{
case 0:
break;
case MSG_ARG_file:
break;
default:
break;
}
{
{
case MSG_ARG_array:
while (r-- > 0)
{
n = msggetu(&b, e);
*np++ = n;
if (e - b >= n) b += n;
}
continue;
case MSG_ARG_file:
continue;
case MSG_ARG_input:
n = msggetu(&b, e);
if (e - b >= n) b += n;
continue;
case MSG_ARG_number:
continue;
case MSG_ARG_output:
{
case MSG_CALL(MSG_getdents):
{
n--;
#endif
#endif
msggetu(&b, e);
#endif
#endif
}
msggetu(&b, e);
break;
for (r = 0; r < 2; r++)
{
ip++;
}
break;
sp->st_blksize =
#endif
msggetu(&b, e);
#endif
msggetu(&b, e);
break;
case MSG_CALL(MSG_statfs):
#endif
msggetu(&b, e);
#else
#endif
#endif
break;
default:
n = msggetu(&b, e);
if (e - b >= n) b += n;
break;
}
continue;
case MSG_ARG_string:
if (n = msggetu(&b, e))
{
if (e - b >= n) b += n;
}
continue;
case MSG_ARG_vector:
while (n = msggetu(&b, e))
{
*vp++ = b;
if (e - b >= n) b += n;
}
*vp = 0;
continue;
}
break;
}
}