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

Technical Reference: Kernel and Subsystems, Volume 1

fp_close Kernel Service for Data Link Control (DLC) Devices

Purpose

Allows kernel to close the generic data link control (GDLC) device manager using a file pointer.

Syntax

int fp_close( fp)

Parameters

fp Specifies the file pointer of the GDLC being closed.

Description

The fp_close kernel service disables a GDLC channel. If this is the last channel to close on a port, the GDLC device manager resets to an idle state on that port and the communications device handler is closed. The fp_close kernel service may be called from the process environment only.

Return Values

0 Indicates a successful completion.
ENXIO Indicates an invalid file pointer. This value is defined in the /usr/include/sys/errno.h file.

Related Information

The fp_close kernel service.

The fp_open kernel service for data link control (DLC) devices.

Generic Data Link Control (GDLC) Environment Overview in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

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