man putfile () - write a file to a buffer.

NAME

putfile - write a file to a buffer.

LIBRARIES

Abz Library (-labz), Debug Library (-ldebug)

SYNOPSIS

#include <abz/putfile.h>

int putfile(const char *filename, mode_t mode, const void *buf, size_t count");

DESCRIPTION

The putfile() function saves a buffer to a file.

RETURN VALUE

The putfile() function returns 0 if successful, -1 if not.

Check errno to see what error occurred.

NOTES

None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/

AUTHOR

Written by Abraham vd Merwe <abz@blio.com>