PageRenderTime 29ms CodeModel.GetById 25ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1
 2type
 3  Pimaxdiv_t = ^imaxdiv_t;
 4  imaxdiv_t = record
 5    quot : int64;
 6    rem : int64;
 7  end;
 8
 9function imaxabs (__n : intmax_t) : intmax_t; cdecl; external clib name 'imaxabs';
10function imaxdiv (__numer: intmax_t; __denom: intmax_t): imaxdiv_t; cdecl;external clib name 'imaxdiv';
11function strtoimax(__nptr: PChar; __endptr: PPChar; __base: Integer): intmax_t;cdecl;external clib name 'strtoimax';
12function strtoumax(__nptr: PChar; __endptr: PPChar; __base: Integer): uintmax_t; cdecl; external clib name 'strtoumax';
13function wcstoimax(__nptr: Pwchar_t; __endptr: PPwchar_t; __base: Integer): intmax_t; cdecl;external clib name 'wcstoimax';
14function wcstoumax(__nptr: Pwchar_t; __endptr: PPwchar_t; __base: Integer): uintmax_t; cdecl;external clib name 'wcstoumax';
15