rpd_inform_type structure#

#include <galahad_rpd.h>

struct rpd_inform_type {
    // fields

    ipc_ status;
    ipc_ alloc_status;
    char bad_alloc[81];
    ipc_ io_status;
    ipc_ line;
    char p_type[4];
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

return status. Possible values are:

  • 0

    The call was successful.

  • -1

    An allocation error occurred. A message indicating the offending array is written on unit control.error, and the returned allocation status and a string containing the name of the offending array are held in inform.alloc_status and inform.bad_alloc respectively.

  • -2

    A deallocation error occurred. A message indicating the offending array is written on unit control.error and the returned allocation status and a string containing the name of the offending array are held in inform.alloc_status and inform.bad_alloc respectively.

  • -22

    An input/outpur error occurred.

  • -25

    The end of the input file was reached prematurely.

  • -29

    The problem type was not recognised.

ipc_ alloc_status

the status of the last attempted allocation or deallocation

char bad_alloc[81]

the name of the array for which an allocation or deallocation error occurred

ipc_ io_status

status from last read attempt

ipc_ line

number of last line read from i/o file

char p_type[4]

problem type