File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ This subroutine reads the entirety of a specified ASCII file and returns its con
273273
274274### Syntax
275275
276- ` call [[stdlib_io(module):getfile(function )]] (fileName, fileContents [, err] [, delete=.false.]) `
276+ ` call [[stdlib_io(module):getfile(subroutine )]] (filename, file [, err] [, delete=.false.]) `
277277
278278### Class
279279Function
@@ -282,15 +282,15 @@ Function
282282
283283` filename ` : Shall be a character input containing the path to the ASCII file to read. It is an ` intent(in) ` argument.
284284
285- ` fileContents ` : Shall be a ` type(string_type) ` variable containing the full content of the specified file. It is an ` intent(out) ` argument.
285+ ` file ` : Shall be a ` type(string_type) ` variable containing the full content of the specified file. It is an ` intent(out) ` argument.
286286
287287` err ` (optional): Shall be a ` type(state_type) ` variable. It is an ` intent(out) ` argument used for error handling.
288288
289289` delete ` (optional): Shall be a ` logical ` flag. If ` .true. ` , the file is deleted after reading. Default is ` .false. ` . It is an ` intent(in) ` argument.
290290
291291### Return values
292292
293- Output variable ` fileContents ` will contain the full content of the specified file.
293+ Output variable ` file ` will contain the full content of the specified file.
294294
295295Raises ` STDLIB_IO_ERROR ` if the file is not found, cannot be opened, read, or deleted.
296296Exceptions trigger an ` error stop ` unless the optional ` err ` argument is provided.
You can’t perform that action at this time.
0 commit comments