mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
19 lines
313 B
C
19 lines
313 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_read(map_t* map, char* bootblock)
|
|
{
|
|
return map_partition_read(map, 0, BOOTBLOCK_SIZE, bootblock);
|
|
}
|