png_init_io

Name

png_init_io -- initialize input/output for the PNG file

Synopsis

#include <png.h>

void png_init_io(png_structp png_ptr, png_FILE_p fp);

Description

Initialize the default input/output functions for the PNG file to standard C streams. To replace the default read and write functions, use png_set_read_fn() and png_set_write_fn() respectively.

Return Value

Errors