mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
19 lines
364 B
C
19 lines
364 B
C
|
#include "syshdrs.h"
|
||
|
|
||
|
#if !defined(NO_UNIX_DOMAIN_SOCKETS) && !defined(NO_SIGNALS)
|
||
|
|
||
|
int
|
||
|
UConnectByName(int sfd, const char * const addrStr, const int tlen)
|
||
|
{
|
||
|
int result;
|
||
|
struct sockaddr_un remoteAddr;
|
||
|
int ualen;
|
||
|
|
||
|
ualen = MakeSockAddrUn(&remoteAddr, addrStr);
|
||
|
result = UConnect(sfd, &remoteAddr, ualen, tlen);
|
||
|
return (result);
|
||
|
} /* UConnectByName */
|
||
|
|
||
|
#endif
|
||
|
|