EMILE/libmap/map_close.c

17 lines
191 B
C

/*
*
* (c) 2004-2007 Laurent Vivier <Laurent@lvivier.info>
*
*/
#include <stdlib.h>
#include <unistd.h>
#include "libmap.h"
void map_close(map_t *map)
{
close(map->fd);
free(map);
}