1
0

conv.h 832 B

1234567891011121314151617181920212223242526272829
  1. /** @file conv.h
  2. * @brief Public interface for faux convert functions.
  3. */
  4. #ifndef _faux_conv_h
  5. #define _faux_conv_h
  6. #include "faux/faux.h"
  7. C_DECL_BEGIN
  8. int lub_conv_atol(const char *str, long int *val, int base);
  9. int lub_conv_atoul(const char *str, unsigned long int *val, int base);
  10. int lub_conv_atoll(const char *str, long long int *val, int base);
  11. int lub_conv_atoull(const char *str, unsigned long long int *val, int base);
  12. int lub_conv_atoi(const char *str, int *val, int base);
  13. int lub_conv_atoui(const char *str, unsigned int *val, int base);
  14. int lub_conv_atos(const char *str, short *val, int base);
  15. int lub_conv_atous(const char *str, unsigned short *val, int base);
  16. int lub_conv_atoc(const char *str, short *val, int base);
  17. int lub_conv_atouc(const char *str, unsigned short *val, int base);
  18. C_DECL_END
  19. #endif