[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 2

tokclose Token-Ring Device Handler Entry Point

Purpose

Note: This function is supported in AIX 5.1 and earlier only.

Resets the token-ring device handler to a known state and frees system resources.

Syntax

#include <sys/device.h>
#include <sys/comio.h>
#include <sys/tokuser.h>

int tokclose (devno, chan)
dev_t devno;
int chan;

Parameters

devno Specifies major and minor device numbers.
chan Identifies the channel number assigned by the tokmpx entry point.

Description

The tokclose entry point is called when a user-mode caller issues a close subroutine. The tokclose entry point can also be invoked in response to a fp_close kernel service.

The tokclose entry point functions with a Token-Ring High Performance Network Adapter that has been correctly configured for use on a qualified network. Consult adapter specifications for more information on configuring the adapter and network qualifications.

Execution Environment

The tokclose entry point can be called from the process environment only.

Return Values

ENXIO Indicates the specified minor number is not valid.

Related Information

The tokmpx entry point, tokopen entry point.

The ddclose Communications PDH entry point.

The close subroutine.

The fp_close kernel service.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]