---
name: "DlpEndOfSync"
section: "3"
platform: "linux"
package: "coldsync"
version: "3.0+pre3-3"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/DlpEndOfSync"
---

# DlpEndOfSync(3)

terminate the sync

## NAME

**DlpEndOfSync** – terminate the sync

## LIBRARY

*libpconn*

## SYNOPSIS

**#include \<palm.h\>**

**#include \<pconn/pconn.h\>**

*int*\

**DlpEndOfSync**(*PConnection \*pconn*, *const ubyte status*);

## DESCRIPTION

**DlpEndOfSync** 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

**DlpEndOfSync** returns 0 if successful, or a negative value otherwise.

## SEE ALSO

[libpconn(3)](/libpconn/3.md), [DlpResetSyncFlags(3)](/DlpResetSyncFlags/3.md), [PConnClose(3)](/PConnClose/3.md).
