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