test2.c 303 B

1234567891011121314
  1. #include <sys/param.h>
  2. #include <sys/dir.h>
  3. #include <sys/user.h>
  4. #include <stdio.h>
  5. main ()
  6. {
  7. struct user u;
  8. printf ("&u.u_ar0 - &u = %d, 0%o\n", (int) &u.u_ar0 - (int) &u,
  9. (int) &u.u_ar0 - (int) &u);
  10. printf ("sizeof (struct pcb) = %d, 0%o\n",
  11. sizeof (struct pcb), sizeof (struct pcb));
  12. }