getname(3f) - [M_io:ENVIRONMENT] get name of the currnt executable (LICENSE:PD)
Synopsis
Description
Example
Author
License
function getname() result(name)
character(len=:),allocatable :: getname
The getname() returns the name of the current executable using get_command_argument(3f) and inquire(3f).
Sample getting a pathname of current executable:
program demo_getname use M_io, only : getname implicit none write(*,*)Running ,getname() end program demo_getname
John S. Urban
Public Domain
getname (3) | March 11, 2021 |