---
name: "libsp"
section: "3"
platform: "linux"
package: "libspread1-dev"
version: "3.17.4-2+b1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/libsp"
---

# libsp(3)

Spread Group Communication Client Library

## NAME

libsp - Spread Group Communication Client Library

## SYNOPSIS

## DESCRIPTION

The Spread  **libsp** library implements the client SP interface to the Spread group communication or multicast message bus system.

## DATA STRUCTURES

## HEADER FILES

*sp.h* is the main header and includes necessary defines and types. It also  includes the other header files sp\_events.h and sp\_func.h.

*sp\_events.h* declares the types and functions that make up the E Event-management  library.

*sp\_func.h* declares the functions of the SP interface. Since sp.h includes this you should not include this directly.

## FILES

No files are required for client applications using the SP library.

## DIAGNOSTICS

The library will not output any debugging information except in fatal errors. The  **[SP\_error(3)](/SP_error/3.md)** function can be used to print an informative error message when SP functions return an error code.

## BUGS

None currently known. Library is only thread-safe if the program is linked with libtsp.a not libsp.a.  The non-thread-safe library is provided for those who are writing single-threaded applications and do not want to pay the minimal performance penalty for locking.

## AUTHOR

Yair Amir \<yairamir@cnds.jhu.edu\>

Jonathan Stanton \<jonathan@cnds.jhu.edu\>

Spread Project \<spread@spread.org\>

## SEE ALSO

[**spread**(1)](/spread/1.md) [**SP\_connect**(3)](/SP_connect/3.md) [**SP\_disconnect**(3)](/SP_disconnect/3.md) [**SP\_equal\_group\_ids**(3)](/SP_equal_group_ids/3.md) [**SP\_error**(3)](/SP_error/3.md) [**SP\_join**(3)](/SP_join/3.md) [**SP\_leave**(3)](/SP_leave/3.md) [**SP\_multicast**(3)](/SP_multicast/3.md) [**SP\_scat\_multicast**(3)](/SP_scat_multicast/3.md) [**SP\_multigroup\_multicast**(3)](/SP_multigroup_multicast/3.md) [**SP\_multigroup\_scat\_multicast**(3)](/SP_multigroup_scat_multicast/3.md) [**SP\_poll**(3)](/SP_poll/3.md) [**SP\_receive**(3)](/SP_receive/3.md) [**SP\_scat\_receive**(3)](/SP_scat_receive/3.md)
