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

/illumos-gate/usr/src/lib/libsocket/inet/
H A Drexec.c79 char aport[MAX_SHORTSTRLEN]; local
89 (void) snprintf(aport, MAX_SHORTSTRLEN, "%u", ntohs(rport));
93 rc = getaddrinfo(*ahost, aport, &hints, &res);
149 (void) snprintf(aport, MAX_SHORTSTRLEN, "%u", port);
150 (void) write(s, aport, strlen(aport)+1);
H A Drcmd.c112 char aport[MAX_SHORTSTRLEN]; local
145 (void) snprintf(aport, MAX_SHORTSTRLEN, "%u", ntohs(rport));
146 rc = getaddrinfo(*ahost, aport, &hints, &res);
282 (void) snprintf(aport, MAX_SHORTSTRLEN, "%d", lport);
283 if (write(s, aport, strlen(aport)+1) != strlen(aport)+1) {

Completed in 58 milliseconds