is_unix Function

public function is_unix()

Try to determine if we run on Unix and probably can rely on POSIX compliance

Arguments

None

Return Value logical

Operating system seems to be Unix


Source Code

function is_unix()

   !> Operating system seems to be Unix
   logical :: is_unix

   character(len=:), allocatable :: tmp

   is_unix = .not. is_windows()

end function is_unix