filebuf::is_open

Syntax

int is_open() const;

Remarks

Returns a nonzero value if this filebuf object is attached to an open disk file identified by a file descriptor; otherwise 0.

See Also

filebuf::open