A question for retrieve minix os version
Posted
by majnun
on Stack Overflow
See other posts from Stack Overflow
or by majnun
Published on 2010-04-16T14:21:34Z
Indexed on
2010/04/16
19:03 UTC
Read the original article
Hit count: 320
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.
© Stack Overflow or respective owner