writev.c revision 2
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowestatic const char rcsid[] = "$Id: writev.c,v 1.3 2005/04/27 04:56:13 sra Exp $";
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe return (-1);
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe * Allow for atomic writes to network.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#else /*_CRAY*/
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe while (vpcount-- > 0) {
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe int written = write(fd, vp->iov_base, vp->iov_len);
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe return (-1);
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#endif /*_CRAY*/
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#endif /*NEED_WRITEV*/