write-full.c revision bcb4e51a409d94ae670de96afb8483a4f7855294
/* 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;
}