view src/lib/write-full.h @ 1329:ae229b7acb4c HEAD

Mailbox names are now sent through imap-quoter instead of just escaping it. This means that mailbox names that would require escapes are instead sent as literals now.
author Timo Sirainen <tss@iki.fi>
date Wed, 02 Apr 2003 05:05:38 +0300
parents ca6967899c05
children 79790750c349
line wrap: on
line source

#ifndef __WRITE_FULL_H
#define __WRITE_FULL_H

/* Write data into file. Returns -1 if error occured, or 0 if all was ok.
   If there's not enough space in device, -1 with ENOSPC is returned, and
   it's unspecified how much data was actually written. */
int write_full(int fd, const void *data, size_t size);

#endif