/src/usr.bin/nc/ |
atomicio.h | 1 /* $OpenBSD: atomicio.h,v 1.2 2007/09/07 14:50:44 tobias Exp $ */ 35 size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
|
Makefile | 6 SRCS= netcat.c atomicio.c socks.c
|
socks.c | 46 #include "atomicio.h" 102 if (atomicio(read, fd, buf + off, 1) != 1) 230 cnt = atomicio(vwrite, proxyfd, buf, 3); 234 cnt = atomicio(read, proxyfd, buf, 2); 283 cnt = atomicio(vwrite, proxyfd, buf, wlen); 287 cnt = atomicio(read, proxyfd, buf, 4); 296 cnt = atomicio(read, proxyfd, buf + 4, 6); 301 cnt = atomicio(read, proxyfd, buf + 4, 18); 321 cnt = atomicio(vwrite, proxyfd, buf, wlen); 325 cnt = atomicio(read, proxyfd, buf, 8) [all...] |
atomicio.c | 1 /* $OpenBSD: atomicio.c,v 1.11 2012/12/04 02:24:47 deraadt Exp $ */ 29 __RCSID("$NetBSD: atomicio.c,v 1.2 2017/02/06 16:03:40 christos Exp $"); 35 #include "atomicio.h" 41 atomicio(ssize_t (*f) (int, void *, size_t), int fd, void *_s, size_t n) function in typeref:typename:size_t
|
netcat.c | 65 #include "atomicio.h" 1392 if (atomicio(vwrite, nfd, obuf, 3) != 3)
|