Solaris Bandwidth Manager 1.6 Developer Guide

ba_close()

Name

ba_close() -- close driver file and reset event mask

Synopsis

#include <netinet/ba_stat.h>

int ba_close();

Description

The function ba_close() closes the driver file /dev/ipqos and resets the event mask to its default value (0). The file is reopened automatically by the next function call through the C Statistics API.

Returns

The function ba_close() returns 0 on success, and -1 on error.

Errors

If an error occurs during a call to ba_close(), the variable ba_errno is set to:

BA_SYSERR

OS error: check errno