[UP]


Manual Reference Pages  - getname (3)

NAME

getname(3f) - [M_io:ENVIRONMENT] get name of the currnt executable (LICENSE:PD)

CONTENTS

Synopsis
Description
Example
Author
License

SYNOPSIS

function getname() result(name)

    character(len=:),allocatable         :: getname

DESCRIPTION

The getname() returns the name of the current executable using get_command_argument(3f) and inquire(3f).

EXAMPLE

Sample getting a pathname of current executable:

     program demo_getname
     use M_io, only : getname
     implicit none
        write(*,*)’Running ’,getname()
     end program demo_getname

AUTHOR

John S. Urban

LICENSE

Public Domain


getname (3) March 11, 2021
Generated by manServer 1.08 from 889050b8-c1ec-46b1-a318-5864f1b3c6e9 using man macros.