Everything
7.4.16 <inttypes.h>

Extends the integer types.

The following macros and functions are all implementation-defined.

Type

Definition Name

Description

Type

(macro)

imaxdiv_t

Indicates the type of the value returned by the imaxdiv function.

Variable

(macro)

PRIdN

PRIdLEASTN

PRIdFASTN

PRIdMAX

PRIdPTR

PRIiN

PRIiLEASTN

PRIiFASTN

PRIiMAX

PRIiPTR

PRIoN

PRIoLEASTN

PRIoFASTN

PRIoMAX

PRIoPTR

PRIuN

PRIuLEASTN

PRIuFASTN

PRIuMAX

PRIuPTR

PRIxN

PRIxLEASTN

PRIxFASTN

PRIxMAX

PRIxPTR

PRIXN

PRIXLEASTN

PRIXFASTN

PRIXMAX

PRIXPTR

SCNdN

SCNdLEASTN

SCNdFASTN

SCNdMAX

SCNdPTR

SCNiN

SCNiLEASTN

SCNiFASTN

SCNiMAX

SCNiPTR

SCNoN

SCNoLEASTN

SCNoFASTN

SCNoMAX

SCNoPTR

SCNuN

SCNuLEASTN

SCNuFASTN

SCNuMAX

SCNuPTR

SCNxN

SCNxLEASTN

SCNxFASTN

SCNxMAX

SCNxPTR

 

Function

imaxabs

Calculates the absolute value.

imaxdiv

Calculates the quotient and remainder.

strtoimax / strtoumax

Equivalent to the strtol, strtoll, strtoul, and strtoull functions, except that the initial part of the string is converted to intmax_t and uintmax_t representation.

wcstoimax / wcstoumax

Equivalent to the wcstol, wcstoll, wcstoul, and wcstoull functions except that the initial part of the wide string is converted to intmax_t and uintmax_t representation.