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

SaPrintf

Functional equivalent of printf for use in all deployment options for a Sapphire-generated application server.

Synopsis

#include "SaRnHtml.h"
int SaPrintf SUTPROTO((char* form, ...));

Arguments

form
Format specifier.
...
arguments whose type and number match the format insertion specifiers in form argument.

Return Values

Returns the integer 0.

Description

Functional equivalent of printf for use in all deployment options for a Sapphire generated application server. Use this function instead of the C library functions to output from a Sapphire app server.

Example

SaPrintf("My name is %s, my age is %-d.", "Mark", 38 );
This call will print:

My name is Mark, my age is 38.
to the output stream.

See Also



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

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