You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
…2746)
This patch add support of intrinsics GNU extension GETCWD
#84203. Some usage info and
example has been added to `flang/docs/Intrinsics.md`. The patch contains
both the lowering and the runtime code and works on both Windows and
Linux.
| System | Implmentation |
|-----------|--------------------|
| Windows | _getcwd |
| Linux |getcwd |
The getcwd intrinsic is an extension provided by some other Fortran compilers (for example gfortran). This extension is used by OpenRadioss.
Arguments:
Example:
The text was updated successfully, but these errors were encountered: