/**************************************************************************************
Copyright (c) 2002 The UbixOS Project
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are prohibited.
$Id$
**************************************************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main();
void _start() {
main();
}
int main() {
int i=0;
i = getpid();
printf("This is my pid: [%i]\n",i);
for (i=0;i<5;i++) {
printf("Init Code [%i]\n",i);
}
if (getpid() != 0) {
printf("Sorry This Program Must Be Started By The Kernel!!!!\n");
exit(1);
}
while(1);
exit(1);
}