11 if (!strncmp(
type,
"tips", 4) || !strncmp(
type,
"fun", 3)) {
38 for (j = 0, beg = 0;
str[j]; j++) {
static RzBinSourceLineInfo * lines(RzBinFile *bf)
RZ_API void rz_core_clippy(RzCore *core, const char *msg)
RZ_API ut64 rz_config_get_i(RzConfig *cfg, RZ_NONNULL const char *name)
RZ_API RZ_BORROW const char * rz_config_get(RzConfig *cfg, RZ_NONNULL const char *name)
RZ_API int rz_cons_printf(const char *format,...)
static char * rizin_fortune_file(const char *type)
static const char * fortunes[]
RZ_API void rz_core_fortune_list(RzCore *core)
RZ_API void rz_core_fortune_list_types(void)
RZ_API RZ_OWN char * rz_core_fortune_get_random(RzCore *core)
RZ_API void rz_core_fortune_print_random(RzCore *core)
RZ_API void Ht_() free(HtName_(Ht) *ht)
insn_type_descr_t types[]
RZ_API char * rz_file_slurp_random_line_count(const char *file, int *linecount)
RZ_API RZ_OWN char * rz_file_slurp(const char *str, RZ_NULLABLE size_t *usz)
RZ_API RZ_OWN char * rz_file_path_join(RZ_NONNULL const char *s1, RZ_NULLABLE const char *s2)
Concatenate two paths to create a new one with s1+s2 with the correct path separator.
RZ_API RZ_OWN char * rz_path_system(RZ_NULLABLE const char *path)
Return the full system path of the given subpath path.
#define rz_strf(buf,...)
Convenience macro for local temporary strings.