source: roaraudio/doc/man3/roar_connect.3 @ 4610:5802dc34dda3

Last change on this file since 4610:5802dc34dda3 was 4013:abd38c189de7, checked in by phi, 14 years ago

some manpage fixes

File size: 1.0 KB
RevLine 
[159]1.\" roar_simple_play.3:
2
3.TH "roar_connect" "3" "July 2008" "RoarAudio" "System Manager's Manual: RoarAuido"
4
5.SH NAME
6roar_connect \- connects to RoarAudio's sound server
7
8.SH SYNOPSIS
9
10#include <roaraudio.h>
11
12int roar_connect(struct roar_connection * con, char * server);
13
14.SH "DESCRIPTION"
15Connects to RoarAudio's sound server.
16This call just connects to the sound server without any auth or identify.
17Do not use this from end user applications. Use \fBroar_simple_connect\fR(3).
18
19
20.SH "PARAMETERS"
21.TP
22\fBcon\fR
23The connection object to be filled with the data needed to talk to the server used by nearly all other calls.
24
25.TP
26\fBserver\fR
27The server to connect to.
[732]28This may be in form "host[:port]" (TCP/IP), "/path/to/sock" (UNIX Domain Socket) or any other supported.
29For a full list see \fBroartips\fR(7).
[159]30
31
32.SH "RETURN VALUE"
[4013]33On success these calls return 0.  On error, \-1 is returned.
[159]34
35.SH "EXAMPLES"
36See libroar/simple.c, \fBroar_simple_connect\fR(3).
37
38.SH "SEE ALSO"
39\fBroar_simple_connect\fR(3),
40\fBlibroar\fR(7),
41\fBRoarAudio\fR(7).
42
43.\" ll
Note: See TracBrowser for help on using the repository browser.