From: Jacob Smith <jnsmith@utmb.edu>
To: gcc-help@gcc.gnu.org
Subject: fstream
Date: Thu, 15 Apr 2004 18:13:00 -0000 [thread overview]
Message-ID: <407ED0D4.90306@utmb.edu> (raw)
How would I go about finding out the largest file stream I can open
(read/write) on my system (P4)? I've ascertained that the
std::fstream::pos_type has a sizeof() 8, but anytime I access somewhere
beyond the 2**31-bit mark, the state of the stream becomes
good()==false. If the maximum size is upper-bound by the 2**31-bit mark
(or whatever), is there anything in the standard libraries to let me
open larger files (i.e. a memory-map or sumsuch)?
thanks,
-j.
next reply other threads:[~2004-04-15 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-15 18:13 Jacob Smith [this message]
2004-04-15 18:16 fstream lrtaylor
2004-04-21 21:02 ` fstream TheChao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=407ED0D4.90306@utmb.edu \
--to=jnsmith@utmb.edu \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).