IP_TaskCloseSync

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskCloseSync`

`IP_TaskCloseSync` -- closes synchronous connections and cleans up resources.

## Syntax

``int IP_TaskCloseSync`(IP_Task* task);`

## Arguments

`task`

  A task pointer.

## Returns

`0` on success, or `-1` on failure and `errno` is set.

## Description

This function closes any open synchronous connections to the given task, and cleans up any associated resources. The `task` should not refer to the current process.

## See Also

Task Structures, `IP_TaskSendSync`

Prev | Home | Next
`IP_TaskCloseAsync` | Up | `IP_TaskConnect`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.