man DlpAddSyncLogEntry (Fonctions bibliothèques) - DlpAddSyncLogEntry

NAME

DlpAddSyncLogEntry - write sync log to a PalmOS device

LIBRARY

libpconn

SYNOPSIS

#include <palm.h>#include <pconn/pconn.h>DlpAddSyncLogEntry PConnection *pconn const char *msg

DESCRIPTION

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

return 0 if successful, or a negative value otherwise.

SEE ALSO