previous | start | next

mygetpid.c

File: mygetpid.c 

#include "myunistd.h"
int mygetpid ()
{
  message m;

        
  status = _syscall(MM,MYGETPID,&m);

  if ( status < 0 ) {
        return status;
  } else {
    return m.m1_i1;
  }
}

int mygetppid()
{
  /**
   *  same as mygetpid except return m.m1_i2;
   */
}


previous | start | next