ba_close() -- close driver file and reset event mask
#include <netinet/ba_stat.h> int ba_close();
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.
The function ba_close() returns 0 on success, and -1 on error.
If an error occurs during a call to ba_close(), the variable ba_errno is set to:
BA_SYSERR |
OS error: check errno |