> - unless a fn *explicitly* documents it's return values, then > the calling code should treat the return value as a boolean > success/failure.
- as a result of this rule using ERROR_FAIL is generally recommended where the calling code should not be expected to take special action but treat it as a boolean success/failure i.e. in just about all cases. -- Øyvind Harboe Embedded software and hardware consulting services http://www.zylin.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
