io_map_clear Kernel Service

Purpose

Removes an I/O mapping segment.

Syntax

#include <sys/adspace.h>

void io_map_clear (io_handle)
io_handle_t io_handle;

Description

This service destroys all mappings defined by the io_handle_t parameter.

There should be no active mappings (outstanding io_map calls) to this handle when io_map_clear is called. The segment previously created by an io_map_init call or multiple io_map_init calls, is deleted.

Parameters

Item Description
io_handle Received on a prior successful call to io_map_init. Describes the I/O space to be removed.

Execution Environment

The io_map_clear kernel service can be called from the process environment only.