[Top] [Prev] [Next] [Bottom] [Contents]

SaSetVBufSize

Sets the size of the internal buffer that Sapphire uses to implement, SaPrintf and SaFprintf. The default value is 200 KB. If a request outputs string fragments bigger than that, you should increase the value.

Synopsis

#include "SaRnHtml.h"
int SaSetVBufSize SUTPROTO((int size));

Arguments

size
Number specifying the size of the internal buffer that Sapphire uses.

Return Values

Returns the value 0 if the value is in the 20K to 10M range. Otherwise, a value of 1 is returned.

Description

Sets the size of the internal buffer that Sapphire uses to implement, SaPrintf and SaFprintf. The default value is 200 KB. If a request outputs string fragments bigger than that, you should increase the value. Values below 20KB or above 10MB are ignored.

Example

SaSetVBufSize(500000);

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.