Skip to content

[flang] Extension: getcwd intrinsic for OpenRadioss application #84203

Closed
@DavidTruby

Description

@DavidTruby

The getcwd intrinsic is an extension provided by some other Fortran compilers (for example gfortran). This extension is used by OpenRadioss.

Arguments:

C	The type shall be CHARACTER and of default kind.
STATUS	(Optional) status flag. Returns 0 on success, a system specific and nonzero error code otherwise.

Example:

PROGRAM test_getcwd
  CHARACTER(len=255) :: cwd
  CALL getcwd(cwd)
  WRITE(*,*) TRIM(cwd)
END PROGRAM

Metadata

Metadata

Assignees

Labels

flangFlang issues not falling into any other category

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions