Allows kernel to close the generic data link control (GDLC) device manager using a file pointer.
int fp_close( fp)
| Item | Description |
|---|---|
| fp | Specifies the file pointer of the GDLC being closed. |
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.
| 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. |