A question for retrieve minix os version
- by majnun
Hi guys i'm having a project for the university in which (above others ) i have to get the minix os version from kernell call.I'm not a very experienced programmer so this is what i have come to (with some help )
int main (int argc, char *argv[] )
{
char M3ca1[23];
message ml;
m.m_u.m_m1.m3ca1= OS_VERSION;
char temp=_syscall(MM,69,&m);
printf("the os version is %c\n",temp);
return 0;
}
and i get multiple errors.IF you have any ideas it would be greatly appreciated.