EMILE/libmap/map_bootblock_read.c

19 lines
307 B
C
Raw Normal View History

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