man DlpEndOfSync (Fonctions bibliothèques) - DlpEndOfSync

NAME

DlpEndOfSync - terminate the sync

LIBRARY

libpconn

SYNOPSIS

#include <palm.h>#include <pconn/pconn.h>DlpEndOfSync PConnection *pconn const ubyte status

DESCRIPTION

tells the Palm that the current sync is terminated. This should be the last DLP call before closing the connection.

status specifies the exit status. 0 indicates a normal termination. For other exit statuses, see the DLPCMD_SYNCEND_* values in <pconn/dlp_cmd.h> .

RETURN VALUE

returns 0 if successful, or a negative value otherwise.

SEE ALSO