@c ----------------------------------------------------------------------
@node pc.h, header
@heading @code{<pc.h>}

This header provides functions specific to the PC arcitecture, like
@code{poke} and video memory access.  To use these functions, add
@code{-lpc} to the end of your link line.

@c ----------------------------------------------------------------------
@node pclose, unix
@heading @code{pclose}
@subheading Syntax

@example
#include <stdio.h>

int pclose(FILE *pipe);
@end example

@subheading Description

This function closes a pipe opened with @code{popen} (@pxref{popen}). 
Note that since MS-DOS is not multitasking, this function will actually
run the program specified in @code{popen} if the pipe was opened for
writing. 

@subheading Return Value

Zero on success, nonzero on failure.

@subheading Example

@example
FILE *f = popen("sort", "w");
write_to_pipe(f);
pclose(f);
@end example

