Is there a way to determine the open mode for an open stream?

Paul M Green Paul.M.Green@fmr.com
Wed Dec 1 02:31:00 GMT 1999


Is there a way to determine the open mode for an open stream?
In Sun Workshop 5.0 I used Stream.rdbuf()->which_open_mode().
Thanks
(I am using gcc version 2.95.2 on Solaris 2.6)



More information about the Gcc-help mailing list