ofstream no longer has file permissions?

"dj_segfault" <[email protected]>
Newsgroups gmane.comp.programming.cppug
Message-ID <[email protected]>
I'm porting some code from AIX's xlC compiler to gcc.  One of the
problems I'm banging my head against right now is this one particular
use of an of an ofstream.  The current call looks like:

ofstream fstrm(cstrFileName,ios::out,0640);
(cstrFileName is a Rogue Wave string, but that's not the issue,
because I can just use cstrFileName.data()).

The ofstream in gcc, and as far as I can tell the C++ standard, does
not have the third parameter for file permissions.  Am I missing
something?  There doesn't seem to be another way of ensuring the file
has the right permissions, is there?

Thanks in advance.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/EbFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cppug/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.