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

NAG Library Function Documentnag_write_line (x04bac)

1  Purpose

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

2  Specification

 #include #include
 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).

None.

5  Arguments

1:    $\mathbf{fileid}$Nag_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:    $\mathbf{line}$const 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.

None.

Not applicable.

8  Parallelism and Performance

nag_write_line (x04bac) is not threaded in any implementation.

None.

10  Example

See Section 10 in nag_open_file (x04acc).

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