Changes the number of buffers for a filesystem
Source position: amigados.pas line 1580
function AddBuffers( |
const name: pCHAR; |
number: LongInt |
):LongBool; |
const name: string; |
number: LongInt |
):Boolean; |
Add or remove cache memory to/from a filesystem. The amount of memory per cache buffer and the limit depends on the filesystem.
Some old filesystems return the actual buffer size. See the example for a workaround for that case.
Snippet
Res1 := AddBuffers('df0:', 10); Res2 := IoErr(); if (res1 <> DosFalse) and (res1 <> DosTrue) then begin Res2 := Res1; Res1 := DosTrue; end;
|
Return extra information from the system |