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

# PConnClose(3)

shut down a connection to a PalmOS device

## NAME

**PConnClose** – shut down a connection to a PalmOS device

## LIBRARY

*libpconn*

## SYNOPSIS

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

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

*int*\

**PConnClose**(*PConnection \*pconn*);

## DESCRIPTION

**PConnClose** closes the *PConnection* pointed to by *pconn*, and frees it.

## RETURN VALUE

**PConnClose** returns 0 if successful, or a negative value in case of error.

## SEE ALSO

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