Displaying 1 result from an estimated 1 matches for "copy_to_fd".
2010 Mar 11
2
[PATCH FOR DISCUSSION ONLY] Rewrite libguestfs-supermin-helper in C.
..."libguestfs use, you shouldn't boot the Xen guest with it).\n");
+ exit (EXIT_FAILURE);
+}
+
+static void copy_kernel_modules (const char *sourcedir, const char *modpath);
+static void copy_hostfiles (const char *sourcedir, const char *hostcpu, const char *repo);
+static void copy_to_fd (const void *buffer, size_t len);
+static void copy_file_to_fd (const char *filename);
+static void copy_file_len_to_fd (const char *filename, size_t len);
+static void copy_padding (size_t len);
+static char **load_file (const char *filename);
+static void cpio_append_fts_entry (FTSENT *entry);
+s...