fclose

Parent Previous Next

fclose

y = fclose ( file_id )
y = file_id.fclose ( )

Closes a file stream specified by the file identifier

arg

type

Description

Unit or Value scale

file_id

SCAL

File identifier from the fopen call


Outputs

  • y is SCAL. 0 for success, -1 for failure.

Notes

Examples

See Also

fopen | fprintf

Created with the Personal Edition of HelpNDoc: Free help authoring tool