string.h 341 B

123456789101112131415
  1. #ifndef __PERF_STRING_H_
  2. #define __PERF_STRING_H_
  3. #include "types.h"
  4. int hex2u64(const char *ptr, u64 *val);
  5. char *strxfrchar(char *s, char from, char to);
  6. s64 perf_atoll(const char *str);
  7. char **argv_split(const char *str, int *argcp);
  8. void argv_free(char **argv);
  9. #define _STR(x) #x
  10. #define STR(x) _STR(x)
  11. #endif /* __PERF_STRING_H */