beautypg.com

ProSoft Technology MVI69-ADMNET User Manual

Page 92

background image

WATTCP API Functions

MVI-ADMNET ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module with Ethernet

Page 92 of 122

ProSoft Technology, Inc.

February 20, 2013

chk_timeout

Syntax

word chk_timeout( longword timeout );

Parameters

timeout

Number of timeout return from set_timerout.

Description
This function is used check if the time is out.

Return Value

1

timeout

Example

int timeout = set_timeout (100);

While(!chk_timeout (timeout))
printf("Not timeout yet\n");