# NAG Library Function Document

## 1Purpose

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

## 2Specification

 #include #include
 void nag_write_line (Nag_FileID fileid, const char *line)

## 3Description

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

None.

## 5Arguments

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.

## 8Parallelism and Performance

nag_write_line (x04bac) is not threaded in any implementation.