null_device Function

public function null_device() result(p)

Return the system null device path.

Arguments

None

Return Value character(len=:), allocatable


Calls

proc~~null_device~~CallsGraph proc~null_device null_device proc~is_windows is_windows proc~null_device->proc~is_windows get_os_type get_os_type proc~is_windows->get_os_type

Source Code

   function null_device() result(p)
      character(len=:), allocatable :: p
      if (is_windows()) then
         p = "NUL"
      else
         p = "/dev/null"
      end if
   end function null_device