]> andersk Git - openssh.git/blobdiff - atomicio.h
- (dtucker) [openbsd-compat/port-aix.h] Bug #640: Don't include audit.h
[openssh.git] / atomicio.h
index d0252491727e31f5913acc46e7f611248e1a0847..5c0f392effc4c974d76492a82be6e16023800556 100644 (file)
@@ -1,7 +1,7 @@
-/*     $OpenBSD: atomicio.h,v 1.2 2001/01/29 01:58:14 niklas Exp $     */
+/*     $OpenBSD: atomicio.h,v 1.5 2003/06/28 16:23:06 deraadt Exp $    */
 
 /*
- * Copyright (c) 1995,1999 Theo de Raadt
+ * Copyright (c) 1995,1999 Theo de Raadt.  All rights reserved.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -26,6 +26,8 @@
  */
 
 /*
- * 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(ssize_t (*f)(), int fd, void *s, size_t n);
+ssize_t        atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t);
+
+#define vwrite (ssize_t (*)(int, void *, size_t))write
This page took 0.03778 seconds and 4 git commands to generate.