C API Reference -- Ns_ConnReadLine

### Ns_ConnReadLine

#### Overview

Read a line from a connection

#### Syntax

        int Ns_ConnReadLine(
        Ns_Conn *conn,
        Ns_DString *pdsLine,
        int* *iRead
        );

#### Description

The Ns_ConnReadLine function reads an \n or \r terminated line from the connection into the Ns_DString pointed to by `pdsLine`. The `iRead` argument will contain the number of bytes read. Ns_ConnReadLine returns a status of NS_OK or NS_ERROR.

Top of Page
Copyright © 1998-99 America Online, Inc.