Share via


ifstream::fd

filedesc fd() const;

Return Value

Returns the file descriptor associated with the stream; filedesc is a typedef equivalent to int. Its value is supplied by the underlying file system.

ifstream OverviewInput Stream Classes

See Also   filebuf::fd, ifstream::attach