DlpAddSyncLogEntry(3)

DlpAddSyncLogEntry3

Write sync log to a palmos device

Usage

#include <palm.h>

#include <pconn/pconn.h>

int

DlpAddSyncLogEntry(PConnection *pconn, const char *msg);

Library

libpconn

Overview

DlpAddSyncLogEntry writes the sync log to the Palm. Despite its name, it does not append to the log, it writes it. Subsequent calls have no effect.

If the log exceeds DLPC_MAXLOGLEN (2048) characters, including the terminating NUL, the log message is truncated, and only the last DLPC_MAXLOGLEN characters will be sent to the Palm. This is because if the log contains error messages, they are more likely to be at the end.

msg specifies the log message.

Return value

DlpAddSyncLogEntry return 0 if successful, or a negative value otherwise.

Releases

Unchanged in 3 releases since Debian 3.0 (Woody).

  1. 3.0–4.0

From coldsync 3.0+pre3-3 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.