libcdio-paranoia 10.2+2.0.2
|
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <stdio.h>
#include "utils.h"
#include "buffering_write.h"
Macros | |
#define | OUTBUFSZ 32*1024 |
Functions | |
long int | buffering_write (int fd, char *buffer, long num) |
int | buffering_close (int fd) |
#define OUTBUFSZ 32*1024 |
int buffering_close | ( | int | fd | ) |
buffering_close() - writes out remaining buffered data before closing file.
long int buffering_write | ( | int | fd, |
char * | buffer, | ||
long | num | ||
) |
buffering_write() - buffers data to a specified size before writing.
Restrictions: