src/test/sysdep/linux/posix-fileutil.c
static ssize_t half_write(int fd, const void *buf, size_t count)
{
    ASSERT(count > 0);
    return trampoline_write(fd, buf, (count+1)/2);
}
/**
 * half_write:  write() replacement which injects an interrupt condition
 * after writing half the requested number of bytes (rounded up).
 */
write() replacement which injects an interrupt condition
after writing half the requested number of bytes (rounded up).
write () replacement which injects an interrupt condition after writing half the requested number of bytes ( rounded up ) .
static ssize_t half_write(int fd, const void *buf, size_t count)
{
    ASSERT(count > 0);
    return trampoline_write(fd, buf, (count+1)/2);
}
static ssize_t half_write ( int fd , const void * buf , size_t count ) { ASSERT ( count > 0 ) ; return trampoline_write ( fd , buf , ( count + 1 ) / 2 ) ; }
half_write:  write() replacement which injects an interrupt condition
 after writing half the requested number of bytes (rounded up).
half_write : write () replacement which injects an interrupt condition after writing half the requested number of bytes ( rounded up ) .