Changes

Jump to navigation Jump to search
355 bytes added ,  19:49, 20 December 2013
Line 41: Line 41:     
  int cr_plugin_restore_file(int id)
 
  int cr_plugin_restore_file(int id)
 +
 +
=== Example ===
 +
Here is a small test program, which opens /dev/rtc and sets up a timer.
 +
[[http://git.criu.org/?p=criu.git;a=blob;f=test/zdtm/live/static/rtc.c;hb=HEAD RTC test]]
 +
 +
Here is a plugin, which is used for dumping and restoring the previous test.
 +
[[http://git.criu.org/?p=criu.git;a=blob;f=test/zdtm/live/static/criu-rtc.c;hb=HEAD criu.rtc.so]]

Navigation menu