checkpoint.c 269 B

12345678910111213
  1. #include <errno.h>
  2. #include <sysdep-cancel.h>
  3. #include <sys/syscall.h>
  4. #include <kernel-features.h>
  5. #include <sysdep.h>
  6. #include <shim_unistd.h>
  7. #ifdef __NR_checkpoint
  8. int checkpoint (const char * filename)
  9. {
  10. return INLINE_SYSCALL (checkpoint, 1, filename);
  11. }
  12. #endif