nag_write_line (x04bac) (PDF version)
x04 Chapter Contents
x04 Chapter Introduction
NAG C Library Manual

NAG Library Function Document

nag_write_line (x04bac)

+ Contents

    1  Purpose
    7  Accuracy
    9  Example

1  Purpose

nag_write_line (x04bac) writes a single line to an external file.

2  Specification

#include <nag.h>
#include <nagx04.h>
void  nag_write_line (Nag_FileID fileid, const char *line)

3  Description

nag_write_line (x04bac) may be used to write to files opened with nag_open_file (x04acc).

4  References

None.

5  Arguments

1:     fileidNag_FileIDInput
On entry: the identifier of the file to be written to. This must have been returned by a call of nag_open_file (x04acc).
2:     lineconst char *Input
On entry: a character-string. This is written to the external file as a single record. Trailing blanks are not output, except that if line is entirely blank, a single blank character is output.

6  Error Indicators and Warnings

None.

7  Accuracy

Not applicable.

8  Further Comments

None.

9  Example

See Section 9 in nag_open_file (x04acc).

nag_write_line (x04bac) (PDF version)
x04 Chapter Contents
x04 Chapter Introduction
NAG C Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2012