NAME

Mclose - close a map

SYNOPSIS

#include "csf.h"

int Mclose(MAP *m);

PARAMETERS

MAP *m
map to close, map descriptor is deallocated

DESCRIPTION

the Mclose function closes a map if the map is being used for output all header data is rewritten first

RETURNS

Upon succesful completion 0 is returned. Otherwise, a non-zero value is returned

MERRNO

WRITE_ERROR (map descriptor still in tact if this happens)