The getcwd_ function retrieves the pathname NAME of the current working directory where the maximum length is 1024 characters.
Function
INTEGER(4)
On successful completion, this function returns 0. Otherwise, it returns a system error code (errno).