fplotlib_io module#
Binary file output for plots and animations. write_bytes returns a failure
to open, write or close the file through a required status_t, with the
file name in the message.
fplotlib_io (module)#
Procedures
file_ext (function)#
-
function file_ext(filename) -> ext - Arguments:
- filenamecharacter(len=*), intent(in)
- Returns:
- extcharacter(len=:), allocatable
dir_name (function)#
-
pure function dir_name(path) -> dir - Arguments:
- pathcharacter(len=*), intent(in)
- Returns:
- dircharacter(len=:), allocatable
join_path (function)#
-
pure function join_path(dir, rel) -> path - Arguments:
- dircharacter(len=*), intent(in)
- relcharacter(len=*), intent(in)
- Returns:
- pathcharacter(len=:), allocatable
write_bytes (subroutine)#
-
subroutine write_bytes(filename, data, status) - Arguments:
- filenamecharacter(len=*), intent(in)
- datacharacter(len=*), intent(in)
- statustype(status_t), intent(out)
read_bytes (subroutine)#
-
recursive subroutine read_bytes(filename, data, status) - Arguments:
- filenamecharacter(len=*), intent(in)
- datacharacter(len=:), allocatable, intent(out)
- statustype(status_t), intent(out)