NAG CL Interface
x04bac (line_​write)

1 Purpose

x04bac writes a single line to an external file.

2 Specification

#include <nag.h>
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.

3 Description

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

4 References

None.

5 Arguments

1: 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: 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.

6 Error Indicators and Warnings

None.

7 Accuracy

Not applicable.

8 Parallelism and Performance

x04bac is not threaded in any implementation.

9 Further Comments

None.

10 Example

See Section 10 in x04acc.