Closes a file.
|fp||Points to a file structure returned by the fp_open, fp_getf, or fp_opendev kernel service.|
The fp_close kernel service is a common service for closing files used by both the file system and routines outside the file system.
The fp_close kernel service can be called from the process environment only.
|0||Indicates a successful operation.|
If an error occurs, one of the values from the /usr/include/sys/error.h file is returned.
The fp_close kernel service is part of Base Operating System (BOS) Runtime.
The close subroutine.
Logical File System Kernel Services in AIX Version 4.3 Kernel Extensions and Device Support Programming Concepts.