mem2swap.c
changeset 113 397270b5d21a
parent 91 1181deef3bd6
child 138 dff18d1ac2af
equal deleted inserted replaced
112:9bfb339a8156 113:397270b5d21a
     7 
     7 
     8 #include <stdio.h>
     8 #include <stdio.h>
     9 #include <stdlib.h>
     9 #include <stdlib.h>
    10 #include <unistd.h>
    10 #include <unistd.h>
    11 #include <errno.h>
    11 #include <errno.h>
    12 #include <wait.h>
    12 #include <sys/wait.h>
    13 
    13 
    14 #define N 1000
    14 #define N 1000
    15 
    15 
    16 #ifndef DEFAULT_MEGS
    16 #ifndef DEFAULT_MEGS
    17 #define DEFAULT_MEGS 64
    17 #define DEFAULT_MEGS 64