third_party/cmocka/example/chef_wrap/chef.c
int chef_cook(const char *order, char **dish_out)
{
    if (order == NULL || dish_out == NULL) return EINVAL;

    return -ENOSYS;
}
/* This is the real chef, just not implemented yet, currently it always
 * returns ENOSYS
 */
This is the real chef, just not implemented yet, currently it always
returns ENOSYS
This is the real chef just not implemented yet currently it always returns ENOSYS
int chef_cook(const char *order, char **dish_out)
{
    if (order == NULL || dish_out == NULL) return EINVAL;
    return -ENOSYS;
}
int chef_cook ( const char * order , char * * dish_out ) { if ( order == NULL || dish_out == NULL ) return EINVAL ; return - ENOSYS ; }
This is the real chef, just not implemented yet, currently it always
 returns ENOSYS
This is the real chef just not implemented yet currently it always returns ENOSYS