pclose function
pclose is used to close a pipe created with
popen.
Library: stdio.h
Prototype: int pclose( FILE *stream);
Syntax: FILE *fp;
pclose(fp);
Example:
example program.
See Also:
- fgetc Get a character from a file.
- fputc Put a character into a file.
- fprintf Put a formatted line into a file.
- fopen Open a file.
- popen Open a pipe.
- fopen Close a file.
- system Issue a system command.
Martin Leslie