(14 out of 193)
SaCatFile
Reads a file and prints its contents to standard out.
Synopsis
#include "SaRnHtml.h"
int SaCatFile(char* filename);
Arguments
filename
A string specifying the filepath name of the file to read. The current directory will be the HTML file directory for the project.
Return Values
Returns 0 on read failure, 1 otherwise.
Description
Reads a file and prints its contents to standard out. The argument,
filename
, is a string specifying the filepath name of the file to read. The current directory will be the HTML file directory for the project. Returns 0 on read failure, 1 otherwise.
Example
SaCatFile("company_log.html");
See Also
SaReadFileToString
SaSetHtmlDir
(14 out of 193)