beautypg.com

HP NonStop G-Series User Manual

Page 110

background image

Silo Media Manager Installation and Users Guide

Interfacing to SMM

4-43

#pragma ssv0 "$system.system", ssv1 "$system.ztcpip", ssv2 "$system.zsysdefs"

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include

int main(void)
{
short CountActuallyWritten = 0,
NumToSend = 0,
nFileNumber = -1,
nResult = 0,
TSISRVFileNum,

cc,
ccx,
err,
wCountRead = 0;


long WriteTag = 3;

char anBuffer[31000],
SendBuffer1[130],
SendBuffer2[130],
SendBuffer3[130],
SendBuffer4[130];

memset(anBuffer,
0,
31000);

wCountRead = 0;

nResult = FILE_OPEN_("$RECEIVE",
(short)8,
&nFileNumber,
, /* ACCESS MODE */
, /* EXCLUSION MODE */
0, /* NOWAIT DEPTH */

This manual is related to the following products: