1NAME
2 FCGI_Finish
3 ‐ fcgi_stdio compatibility library
4
5SYNOPSIS
6 #include "fcgi_stdio.h"
7
8 void
9 FCGI_Finish(void);
10
11
12DESCRIPTION
13 The FCGI_Finish function finishes the current request from
14the
15 HTTP server. The current request was started by the most
16recent
17 call to FCGI_Accept(3).
18
19 FCGI_Finish allows an application to interleave other activ‐
20ities
21 with the processing of requests. In an extreme case, an
22 application would call FCGI_Finish to complete the current
23 request before exiting, e.g. to reclaim leaked storage.
24
25 In completing the current request, FCGI_Finish may detect
26 errors, e.g. a broken pipe to a client who has disconnected
27 early. FCGI_Finish ignores such errors. An application
28 that wishes to handle such errors should explicitly call
29 fclose(stderr), then fclose(stdout); an EOF return from
30 either one indicates an error.
31
32 FCGI_Finish frees any storage allocated by the most recent
33call
34 to FCGI_Accept. See FCGI_Accept(3) for warnings against re‐
35taining
36 pointers to this storage.
37
38
39SEE ALSO
40 FCGI_Accept(3)
41
42HISTORY
43 Copyright (c) 1996 Open Market, Inc.
44 See the file "LICENSE.TERMS" for information on usage and
45redistribution
46 of this file, and for a DISCLAIMER OF ALL WARRANTIES.
47 $Id: FCGI_Finish.3,v 1.1.1.1 1997/09/16 15:36:25 stanleyg
48Exp $
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66