[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_ConnReturnOpenFd

Overview

Return a file to a client

Syntax

    int Ns_ConnReturnOpenFile(
    	Ns_Conn *conn,
    	int      status,
    	char    *type,
    	int      fd,
    	int      len
    );

Description

The Ns_ConnReturnOpenFd function is the same as Ns_ConnReturnFile except that it takes an fd argument instead of a file name, and it requires an additional length argument. It returns the entire contents of the given file to the client. Ns_ConnReturnOpenFd returns a status of NS_OK or NS_ERROR.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.