1/* $Id$ */ 2/* $OpenBSD: netcat.c,v 1.57 2002/12/30 18:00:18 stevesk Exp $ */ 3/* 4 * Copyright (c) 2001 Eric Jackson <ericj@monkey.org> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 188 unchanged lines hidden (view full) --- 197 (ret = atomicio(write, nfd, buf2, 1)) != n) 198 return; 199 } else { 200 escape = (*buf == '~'); 201 if (escape) 202 continue; 203 } 204 |
205 if ((ret = atomicio(write, nfd, buf, n)) != n) |
206 return; 207 } 208 } 209 } 210} 211 212void 213usage(int ret) --- 99 unchanged lines hidden --- |