long close (long fileno)


[Description]

-

The file number obtained using the open routine is passed as a parameter.

-

The file management information area set using the open routine should be released to enable reuse. Also, when output file buffering is performed in low-level interface routines, the buffer contents should be written to the actual file.

-

When the file is closed successfully, 0 is returned; if the close operation fails, -1 is returned.

[Return value]

Normal: 0

Error: -1

[Parameters]

fileno Number of the file to be closed