filedesc fd() const;
Returns the file descriptor associated with the filebuf object; filedesc is a typedef equivalent to int.
Return Value
The value is supplied by the underlying file system. The function returns EOF if the object is not attached to a file.
filebuf Overview | Stream Buffer Classes
See Also filebuf::attach