EMILE/libmap/map_bootblock_write.c
2007-10-09 20:40:37 +00:00

19 lines
315 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include "libmap.h"
int map_bootblock_write(map_t* map, char* bootblock)
{
return map_partition_write(map, 0, BOOTBLOCK_SIZE, bootblock);
}