]> andersk Git - openssh.git/blobdiff - atomicio.c
- markus@cvs.openbsd.org 2004/01/30 09:48:57
[openssh.git] / atomicio.c
index 8287840a3c8c9d7ab027f0214f102d798854f91a..7637e167198685f1d421764265f0e8868a01f1a0 100644 (file)
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: atomicio.c,v 1.9 2001/03/02 18:54:30 deraadt Exp $");
+RCSID("$OpenBSD: atomicio.c,v 1.12 2003/07/31 15:50:16 avsm Exp $");
 
-#include "xmalloc.h"
 #include "atomicio.h"
 
 /*
- * ensure all of data on socket comes through. f==read || f==write
+ * ensure all of data on socket comes through. f==read || f==vwrite
  */
 ssize_t
 atomicio(f, fd, _s, n)
-       ssize_t (*f) ();
+       ssize_t (*f) (int, void *, size_t);
        int fd;
        void *_s;
        size_t n;
This page took 0.224502 seconds and 4 git commands to generate.