[Top] [Prev] [Next] [Bottom]
[Contents]
SaFprintf
Functional equivalent of fprintf for use in all deployment options for a Sapphire-generated application server.
#include "SaRnHtml.h"
int SaFprintf SUTPROTO((FILE* file, char* form, ...));
Arguments
- file
- File pointer. This is used in CGI mode only and is usually stdout or stdin. In app server mode this will be ignored.
- form
- Format specifier.
- ...
- arguments whose type and number match the format insertion specifiers in form argument.
Return Values
Returns the integer 0.
Functional equivalent of fprintf 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.
SaFprintf(stdout, "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.
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.