HP3000-L Archives

March 1999, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Tue, 30 Mar 1999 17:09:48 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Re:

> Is it possible to change a file limit after the creation of that file.
> The goal is to increase it in a C routine when, for example,
> when the file is 80% full.

No and yes.

The easy answer is "no", it isn't possible to increase the limit of a file.
With that answer, you may want to try creating the file with a large initial
limit, and never reducing that limit (so you never have to increase it).

The hard answer is "yes", there's an undocumented MPE routine that
can increase the file limit ... but your code must be privileged to
call it, and no one may have the file open at the time.
If you're interested in that routine, I'd suggest filing an enhancement
request to get a documented & supported access to it.

--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2