src/device_list.h
int device_list_push(struct device_list *device_list, struct device *item_data)
{
    /* Implement me! */
    return -UNIMPLEMENTED;
}
/** 
 * Inserts device at back of device_list
 * @param device_list
 * @param device 
 * @returns 0 on success, -ENOMEM on failure
 * 
 * Note: A bit about -ENOMEM
 * ENOMEM is a Unix error code macro defined as 12 that means "Out of memory"
 * Because the Macro resolves to an integer, we can make the value a negative
 * This is useful because the common error handling pattern in C is something like the following
 *      int rc = device_list_push(args)
 *      if (rc < 0) { // do error stuff }
 */
Inserts device at back of device_list
@param device_list
@param device
@returns 0 on success, -ENOMEM on failure

A bit about -ENOMEM
ENOMEM is a Unix error code macro defined as 12 that means "Out of memory"
Because the Macro resolves to an integer, we can make the value a negative
This is useful because the common error handling pattern in C is something like the following
int rc = device_list_push(args)
if (rc < 0) { // do error stuff }
Inserts device at back of device_list @param device_list @param device @returns 0 on success - ENOMEM on failure A bit about - ENOMEM ENOMEM is a Unix error code macro defined as 12 that means " Out of memory " Because the Macro resolves to an integer we can make the value a negative This is useful because the common error handling pattern in C is something like the following int rc = device_list_push ( args ) if ( rc < 0 ) { // do error stuff }
int device_list_push(struct device_list *device_list, struct device *item_data)
{
    return -UNIMPLEMENTED;
}
int device_list_push ( struct device_list * device_list , struct device * item_data ) { return - UNIMPLEMENTED ; }
Inserts device at back of device_list
 @param device_list
 @param device
 @returns 0 on success, -ENOMEM on failure
Inserts device at back of device_list @param device_list @param device @returns 0 on success - ENOMEM on failure
/* Implement me! */