◄filebuf► ◄Up► ◄Contents► ◄Index► ◄Back► ──The Microsoft iostream Classes──────────────────────────────────────────── filedesc fd() const; Remarks Returns the file descriptor associated with the filebuf object; filedesc is a typedef equivalent to int. Its value is supplied by the underlying file system. The function returns EOF if the object is not attached to a file. See Also ◄filebuf::attach► -♦-