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.21 String handling <string.h>
7.21.1 String function conventions
7.21.2 Copying functions
7.21.3 Concatenation functions
7.21.4 Comparison functions
7.21.5 Search functions
7.21.5.1 The memchr function
7.21.5.2 The strchr function
7.21.5.3 The strcspn function
7.21.5.4 The strpbrk function
7.21.5.5 The strrchr function
7.21.5.6 The strspn function
7.21.5.7 The strstr function
7.21.5.8 The strtok function
7.21.6 Miscellaneous functions
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.21 String handling <string.h>
7.21.5 Search functions
Previous
Next
7.21.5 Search functions
7.21.5.1 The memchr function
7.21.5.2 The strchr function
7.21.5.3 The strcspn function
7.21.5.4 The strpbrk function
7.21.5.5 The strrchr function
7.21.5.6 The strspn function
7.21.5.7 The strstr function
7.21.5.8 The strtok function