Searched defs:sunaddr (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c484 struct sockaddr_un sunaddr; local
490 (void) memset(&sunaddr, 0, sizeof (struct sockaddr_un));
491 sunaddr.sun_family = AF_UNIX;
493 if (strlcpy(sunaddr.sun_path, path, sizeof (sunaddr.sun_path)) >=
494 sizeof (sunaddr.sun_path)) {
499 if (connect(s, (struct sockaddr *)&sunaddr, SUN_LEN(&sunaddr)) < 0) {
513 struct sockaddr_un sunaddr; local
520 (void) memset(&sunaddr,
[all...]

Completed in 45 milliseconds