C99 Language Standard
Contents
Foreword
Introduction
1. Scope
2. Normative references
3. Terms, definitions, and symbols
4. Conformance
5. Environment
6. Language
7. Library
7.1 Introduction
7.2 Diagnostics <assert.h>
7.3 Complex arithmetic <complex.h>
7.4 Character handling <ctype.h>
7.5 Errors <errno.h>
7.6 Floating-point environment <fenv.h>
7.7 Characteristics of floating types <float.h>
7.8 Format conversion of integer types <inttypes.h>
7.9 Alternative spellings <iso646.h>
7.10 Sizes of integer types <limits.h>
7.11 Localization <locale.h>
7.12 Mathematics <math.h>
7.13 Nonlocal jumps <setjmp.h>
7.14 Signal handling <signal.h>
7.15 Variable arguments <stdarg.h>
7.16 Boolean type and values <stdbool.h>
7.17 Common definitions <stddef.h>
7.18 Integer types <stdint.h>
7.19 Input/output <stdio.h>
7.20 General utilities <stdlib.h>
7.20.1 Numeric conversion functions
7.20.2 Pseudo-random sequence generation functions
7.20.3 Memory management functions
7.20.4 Communication with the environment
7.20.5 Searching and sorting utilities
7.20.6 Integer arithmetic functions
7.20.6.1 The abs, labs and llabs functions
7.20.6.2 The div, ldiv, and lldiv functions
7.20.7 Multibyte/wide character conversion functions
7.20.8 Multibyte/wide string conversion functions
7.21 String handling <string.h>
7.22 Type-generic math <tgmath.h>
7.23 Date and time <time.h>
7.24 Extended multibyte and wide character utilities <wchar.h>
7.25 Wide character classification and mapping utilities <wctype.h>
7.26 Future library directions
Annex A
Annex B
Annex C
Annex D
Annex E
Annex F
Annex G
Annex H
Annex I
Annex J
Bibliography
C99 Language Standard
7. Library
7.20 General utilities <stdlib.h>
7.20.6 Integer arithmetic functions
Previous
Next
7.20.6 Integer arithmetic functions
7.20.6.1 The abs, labs and llabs functions
7.20.6.2 The div, ldiv, and lldiv functions