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

Item Description
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

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