filebuf::is_open

int is_open() const;

Return Value

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

filebuf OverviewStream Buffer Classes

See Also   filebuf::open