substdio_copy

Section: C Library Functions (3)
Index Return to Main Contents
 

NAME

substdio_copy - copy an entire input to an output  

SYNTAX

#include <substdio.h>

int substdio_copy(&sout,&sin);

substdio sout;
substdio sin;  

DESCRIPTION

substdio_copy reads characters from sin until end of file, writing each character to sout. It then returns 0. It does not flush sout.

Upon a sin error, substdio_copy returns -2, leaving errno set appropriately.

Upon a sout error, substdio_copy returns -3, leaving errno set appropriately.  

SEE ALSO

substdio(3)


 

Index

NAME
SYNTAX
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:00:51 GMT, June 16, 2008