third_party/cmocka/example/chef_wrap/chef.c
const char *chef_strerror(int error)
{
    switch (error) {
    case 0:
        return "Success";
    case -1:
        return "Unknown dish";
    case -2:
        return "Not enough ingredients for the dish";
    }

    return "Unknown error!";
}
/* Print chef return codes as string */
Print chef return codes as string
Print chef return codes as string
const char *chef_strerror(int error)
{
    switch (error) {
    case 0:
        return "Success";
    case -1:
        return "Unknown dish";
    case -2:
        return "Not enough ingredients for the dish";
    }
    return "Unknown error!";
}
const char * chef_strerror ( int error ) { switch ( error ) { case 0 : return " " ; case -1 : return " " ; case -2 : return " " ; } return " " ; }
Print chef return codes as string
Print chef return codes as string