1
0

conv.h 483 B

123456789101112131415161718
  1. #ifndef _lub_conv_h
  2. #define _lub_conv_h
  3. #include "lub/c_decl.h"
  4. _BEGIN_C_DECL
  5. int lub_conv_atol(const char *str, long int *val, int base);
  6. int lub_conv_atoul(const char *str, unsigned long int *val, int base);
  7. int lub_conv_atos(const char *str, short *val, int base);
  8. int lub_conv_atous(const char *str, unsigned short *val, int base);
  9. int lub_conv_atoi(const char *str, int *val, int base);
  10. int lub_conv_atoui(const char *str, unsigned int *val, int base);
  11. _END_C_DECL
  12. #endif