/packages/libc/src/inttypesh.inc

https://github.com/slibre/freepascal · Pascal · 15 lines · 12 code · 3 blank · 0 comment · 0 complexity · be710dbcc4fa0a7e8bfe237a067aa589 MD5 · raw file

  1. type
  2. Pimaxdiv_t = ^imaxdiv_t;
  3. imaxdiv_t = record
  4. quot : int64;
  5. rem : int64;
  6. end;
  7. function imaxabs (__n : intmax_t) : intmax_t; cdecl; external clib name 'imaxabs';
  8. function imaxdiv (__numer: intmax_t; __denom: intmax_t): imaxdiv_t; cdecl;external clib name 'imaxdiv';
  9. function strtoimax(__nptr: PChar; __endptr: PPChar; __base: Integer): intmax_t;cdecl;external clib name 'strtoimax';
  10. function strtoumax(__nptr: PChar; __endptr: PPChar; __base: Integer): uintmax_t; cdecl; external clib name 'strtoumax';
  11. function wcstoimax(__nptr: Pwchar_t; __endptr: PPwchar_t; __base: Integer): intmax_t; cdecl;external clib name 'wcstoimax';
  12. function wcstoumax(__nptr: Pwchar_t; __endptr: PPwchar_t; __base: Integer): uintmax_t; cdecl;external clib name 'wcstoumax';