home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
r
/
rem-file.zip
/
remote_file
/
context_rundow
next >
Wrap
Text File
|
1992-05-03
|
455b
|
14 lines
/* FILE NAME: context_rundown.c */
#include <stdio.h>
#include "remote_file.h"
void filehandle_rundown(remote_fh)
filehandle remote_fh; /* the context handle is passed in */
{
fprintf(stderr, "Server executing context rundown\n");
if( (FILE *)remote_fh != stdout )
fclose( (FILE *)remote_fh ); /* file is closed if client is gone */
remote_fh = NULL; /* must set context handle to NULL */
return;
}