ReactOS 0.4.16-dev-91-g764881a
UConnectByName.c
Go to the documentation of this file.
1#include "syshdrs.h"
2
3#if !defined(NO_UNIX_DOMAIN_SOCKETS) && !defined(NO_SIGNALS)
4
5int
6UConnectByName(int sfd, const char * const addrStr, const int tlen)
7{
8 int result;
9 struct sockaddr_un remoteAddr;
10 int ualen;
11
12 ualen = MakeSockAddrUn(&remoteAddr, addrStr);
13 result = UConnect(sfd, &remoteAddr, ualen, tlen);
14 return (result);
15} /* UConnectByName */
16
17#endif
18
GLuint64EXT * result
Definition: glext.h:11304
int UConnectByName(int, const char *const, const int)
int MakeSockAddrUn(struct sockaddr_un *, const char *const)
int UConnect(int, const struct sockaddr_un *const, int, int)