/* Copyright (c) 2002-2018 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "write-full.h"
#include <unistd.h>
{
while (size > 0) {
return -1;
/* nothing was written, only reason for this should
be out of disk space */
return -1;
}
}
return 0;
}
{
while (size > 0) {
return -1;
/* nothing was written, only reason for this should
be out of disk space */
return -1;
}
}
return 0;
}