// TODO: fully implement the rest R_API int r_sys_cmd_str_full(const char *cmd, const char *input, char **output, int *len, char **sterr) { char *result = r_sys_cmd_str_w32 (cmd); if (len) *len = 0; if (output) *output = result; if (result) return R_TRUE; return R_FALSE; }
// TODO: fully implement the rest R_API int r_sys_cmd_str_full(const char *cmd, const char *input, char **output, int *len, char **sterr) { char *result = r_sys_cmd_str_w32 (cmd); if (len) { *len = 0; } if (output) { *output = result; } if (result) { return true; } return false; }