Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Plugins
(edit)
Revision as of 19:49, 20 December 2013
355 bytes added
,
19:49, 20 December 2013
→External files
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]]
Avagin
Bureaucrats
,
Administrators
416
edits