Home
last modified time | relevance | path

Searched refs:atomicio (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dsocks.c112 if (atomicio(read, fd, buf + off, 1) != 1) in proxy_read_line()
190 cnt = atomicio(vwrite, proxyfd, buf, 3); in socks_connect()
194 cnt = atomicio(read, proxyfd, buf, 2); in socks_connect()
249 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect()
258 cnt = atomicio(read, proxyfd, buf, 10); in socks_connect()
276 cnt = atomicio(vwrite, proxyfd, buf, wlen); in socks_connect()
284 cnt = atomicio(read, proxyfd, buf, 8); in socks_connect()
310 cnt = atomicio(vwrite, proxyfd, buf, r); in socks_connect()
330 if ((cnt = atomicio(vwrite, proxyfd, buf, r)) != r) in socks_connect()
335 if ((r = atomicio(vwrite, proxyfd, "\r\n", 2)) != 2) in socks_connect()
H A Datomicio.h35 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
H A DMakefile27 OBJS= atomicio.o netcat.o socks.o
H A Datomicio.c42 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) in atomicio() function
H A Dnetcat.c729 if (atomicio(vwrite, lfd, buf, n) != n) in readwrite()
749 if (atomicio(vwrite, nfd, buf, n) != n) in readwrite()
782 if (atomicio(vwrite, nfd, obuf, 3) != 3) in atelnet()