The Complete SPRLIB & ANNLIB

check_conn_to_input

- check whether a unit is connected to an input unit (LOCAL)

SYNOPSIS

int check_conn_to_input (unit)

ARGUMENTS

UNIT *unit A pointer to a UNIT structure.

RETURNS

TRUE if the unit is not connected to the input, FALSE if it is.

FUNCTION

The function calls itself recursively for each InLink in the unit and returns FALSE if the unit is an input unit, resulting in a depth-first search.

NOTE

This function is used by check_all_network through check_io_conn.

SEE ALSO

check_net, check_units, check_links, check_conn_to_output, check_io_conn , check_incr_ids, check_decr_ids, check_order_ids, check_ff_net , check_all_network

This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998