[manuals] Manpage minor fix;
This commit is contained in:
parent
9e9ea00df8
commit
2a675d798a
@ -8,9 +8,9 @@ sxlink_close \- Close link.
|
|||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <sxmp/sxmp.h>
|
.B #include <sxmp/sxmp.h>
|
||||||
.sp
|
.sp
|
||||||
sxlink_t *sxlink_master_accept(sxhub_t *ssys, int sck, struct in_addr *addr);
|
sxlink_t *sxlink_master_accept(sxhub_t *hub, int sck, struct in_addr *addr);
|
||||||
|
|
||||||
sxlink_t *sxlink_connect(sxhub_t *ssys, const char *host,
|
sxlink_t *sxlink_connect(sxhub_t *hub, const char *host,
|
||||||
int port, const char *SSL_cert, const char *login,
|
int port, const char *SSL_cert, const char *login,
|
||||||
const char *passwd);
|
const char *passwd);
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ int sxlink_close(sxlink_t *co);
|
|||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B sxlink_master_accept
|
.B sxlink_master_accept
|
||||||
will create a new link within
|
will create a new link within
|
||||||
.B ssys
|
.B hub
|
||||||
hub with already accepted socket fd
|
hub with already accepted socket fd
|
||||||
.B sck
|
.B sck
|
||||||
and set ip address of this connection pointed by
|
and set ip address of this connection pointed by
|
||||||
@ -32,7 +32,7 @@ is NULL, peer address will not set.
|
|||||||
.br
|
.br
|
||||||
.B sxlink_connect
|
.B sxlink_connect
|
||||||
will create a new link to the master side using
|
will create a new link to the master side using
|
||||||
.B ssys
|
.B hub
|
||||||
hub to the host pointed via hostname or ip address in nul terminated string
|
hub to the host pointed via hostname or ip address in nul terminated string
|
||||||
.B host
|
.B host
|
||||||
running on port number
|
running on port number
|
||||||
|
Loading…
x
Reference in New Issue
Block a user