About 50 results
Open links in new tab
  1. Standard library header <stdlib.h> - cppreference.com

    Feb 7, 2025 · This header is a part of program support utilities library, in particular, it provides functions for program termination, memory management, string conversions, random numbers generation. The …

  2. C Standard Library headers - cppreference.com

    May 16, 2025 · The interface of C standard library is defined by the following collection of headers.

  3. Standard library header <cstdlib> - cppreference.com

    Sep 13, 2023 · This header was originally in the C standard library as <stdlib.h>. This header provides miscellaneous utilities. Symbols defined here are used by several library components. 1 2 3 …

  4. Standard library header <stdio.h> - cppreference.com

    Feb 6, 2025 · This header is part of input/output library, providing generic file operation support and supplies I/O functions that work with narrow characters.

  5. qsort, qsort_s - cppreference.com

    Jan 22, 2024 · 1) Sorts the given array pointed to by ptr in ascending order. The array contains count elements of size bytes. Function pointed to by comp is used for object comparison. 2) Same as (1), …

  6. calloc - cppreference.com

    Sep 4, 2023 · A previous call to free, free_sized, and free_aligned_sized(since C23) or realloc that deallocates a region of memory synchronizes-with a call to calloc that allocates the same or a part of …

  7. C++ Standard Library headers - cppreference.com

    Apr 26, 2025 · Including <stdlib.h> definitely provides ::malloc and may also provide std::malloc. This applies even to functions and function overloads that are not part of C standard library. Notes: xxx.h …

  8. malloc - cppreference.com

    Sep 3, 2023 · If size is zero, the behavior of malloc is implementation-defined. For example, a null pointer may be returned. Alternatively, a non-null pointer may be returned; but such a pointer should …

  9. free - cppreference.com

    Aug 14, 2024 · A call to free that deallocates a region of memory synchronizes-with a call to any subsequent allocation function that allocates the same or a part of the same region of memory. This …

  10. Standard library header <version> (C++20) - cppreference.com

    Sep 17, 2022 · This header supplies implementation-dependent information about the standard library (such as implementation-specific library version macros).