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

# RDLP\_PluggedIn(3)

tests whether a PalmOS device is plugged in

## NAME

**RDLP\_PluggedIn** – tests whether a PalmOS device is plugged in

## LIBRARY

*libpconn*

## SYNOPSIS

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

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

*int*\

**RDLP\_PluggedIn**(*PConnection \*pconn*);

## DESCRIPTION

Presumably, **RDLP\_PluggedIn** tests whether the Palm is plugged into a cradle. Of course, if you're calling this over a serial or USB connection, then it is trivially true.

## RETURN VALUE

Presumably returns a non-zero value if the Palm is plugged into a cradle, and 0 if it isn't.

## SEE ALSO

[libpconn(3)](/libpconn/3.md), [new\_PConnection(3)](/new_PConnection/3.md).

## BUGS

This function is untested.
