# NAG CL Interfacex04bac (line_​write)

## 1Purpose

x04bac writes a single line to an external file.

## 2Specification

 #include
 void x04bac (Nag_FileID fileid, const char *line)
The function may be called by the names: x04bac, nag_file_line_write or nag_write_line.

## 3Description

x04bac may be used to write to files opened with x04acc.

None.

## 5Arguments

1: $\mathbf{fileid}$Nag_FileID Input
On entry: the identifier of the file to be written to. This must have been returned by a call of 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

x04bac is not threaded in any implementation.