1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
inttypes-h.md 6.44 KB
Copy Edit Raw Blame History
wenjun authored 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

inttypes.h

Overview

Related Modules:

UTILS

Description:

Provides functions and related data structures for conversion between character strings and plural.

You can use the functions provided in this file to perform operations related to wide character types during development, for example, performing a division operation, converting a character string to an imax-type parameter, or converting a character string to an umax-type parameter.

Since:

1.0

Version:

1.0

Summary

Data Structures

Data Structure Name

Description

imaxdiv_t

Stores the division result.

Functions

Function Name

Description

imaxabs (intmax_t j)

intmax_t 

Calculates the absolute value of an input parameter of the integer type.

imaxdiv (intmax_t numerator, intmax_t denominator)

imaxdiv_t 

Calculates the quotient and remainder after the division operation is performed on an integer.

strtoimax (const char *str, char **endptr, int base)

intmax_t 

Parses a string to a value of the intmax_t type.

strtoumax (const char *str, char **endptr, int base)

uintmax_t 

Parses a string to a value of the uintmax_t type.

wcstoimax (const wchar_t *str, wchar_t **endptr, int base)

intmax_t 

Parses a string to a value of the intmax_t type.

wcstoumax (const wchar_t *str, wchar_t **endptr, int base)

uintmax_t 

Parses a string to a value of the uintmax_t type.

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

Search