summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/atomicio.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-6/+1
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* order includes to KNFstevesk2006-07-301-2/+3
|
* introduce atomiciov() function that wraps readv/writev to retrydjm2006-04-161-1/+17
| | | | | interrupted transfers like atomicio() does for read/write; feedback deraadt@ dtucker@ stevesk@ ok deraadt@
* standardise spacing in $OpenBSD$ tags; requested by deraadt@djm2006-03-251-1/+1
|
* Switch atomicio to use a simpler interface; it now returns a size_tavsm2005-05-241-2/+2
| | | | | | | | | | | (containing number of bytes read/written), and indicates error by returning 0. EOF is signalled by errno==EPIPE. Typical use now becomes: if (atomicio(read, ..., len) != len) err(1,"read"); ok deraadt@, cloder@, djm@
* deal with typing of write vs read in atomicioderaadt2003-06-281-3/+5
|
* prototype pedant. not very creative...itojun2001-06-261-2/+2
| | | | | - () -> (void) - no variable names
* make copyright lines the same formatderaadt2001-03-021-2/+2
|
* $OpenBSD$niklas2001-01-291-0/+2
|
* split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.markus2001-01-211-0/+29
rename util.[ch] -> misc.[ch]