summaryrefslogtreecommitdiff
path: root/atomicio.c
diff options
context:
space:
mode:
Diffstat (limited to 'atomicio.c')
-rw-r--r--atomicio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/atomicio.c b/atomicio.c
index 47161eb3a..7637e1671 100644
--- a/atomicio.c
+++ b/atomicio.c
@@ -24,16 +24,16 @@
24 */ 24 */
25 25
26#include "includes.h" 26#include "includes.h"
27RCSID("$OpenBSD: atomicio.c,v 1.10 2001/05/08 22:48:07 markus Exp $"); 27RCSID("$OpenBSD: atomicio.c,v 1.12 2003/07/31 15:50:16 avsm Exp $");
28 28
29#include "atomicio.h" 29#include "atomicio.h"
30 30
31/* 31/*
32 * ensure all of data on socket comes through. f==read || f==write 32 * ensure all of data on socket comes through. f==read || f==vwrite
33 */ 33 */
34ssize_t 34ssize_t
35atomicio(f, fd, _s, n) 35atomicio(f, fd, _s, n)
36 ssize_t (*f) (); 36 ssize_t (*f) (int, void *, size_t);
37 int fd; 37 int fd;
38 void *_s; 38 void *_s;
39 size_t n; 39 size_t n;