Mercurial > dropbear
comparison scpmisc.h @ 1323:83d85b28b353
upgrade atomicio
in order to remove K&R code in atomicio.c
now, vwrite comes from atomicio.h
author | Francois Perrad <francois.perrad@gadz.org> |
---|---|
date | Fri, 25 Mar 2016 12:05:17 +0100 |
parents | 5686ee0a3338 |
children | 292f79307600 |
comparison
equal
deleted
inserted
replaced
1322:826a3293fe5a | 1323:83d85b28b353 |
---|---|
9 * can be used freely for any purpose. Any derived versions of this | 9 * can be used freely for any purpose. Any derived versions of this |
10 * software must be clearly marked as such, and if the derived work is | 10 * software must be clearly marked as such, and if the derived work is |
11 * incompatible with the protocol description in the RFC file, it must be | 11 * incompatible with the protocol description in the RFC file, it must be |
12 * called by a name other than "ssh" or "Secure Shell". | 12 * called by a name other than "ssh" or "Secure Shell". |
13 */ | 13 */ |
14 | |
15 /* actually from atomicio, but is only used in scp code */ | |
16 #define vwrite (ssize_t (*)(int, void *, size_t))write | |
17 | 14 |
18 char *chop(char *); | 15 char *chop(char *); |
19 char *strdelim(char **); | 16 char *strdelim(char **); |
20 void set_nonblock(int); | 17 void set_nonblock(int); |
21 void unset_nonblock(int); | 18 void unset_nonblock(int); |