Memory Objects

┌─────────────────────────┬──────────────┬─────────────────────────┬───────────┐
│ Function │ Header File │ Link to Function │ Descriptio│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ memchr │ "string.h"" │ memchr │ Searches │
│ │ memory.h" │ │ a buffer │
│ │ │ │ for the │
│ │ │ │ first │
│ │ │ │ occur- │
│ │ │ │ rence of │
│ │ │ │ a given │
│ │ │ │ char- │
│ │ │ │ acter. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ memcmp │ "string.h"" │ memcmp │ Compares │
│ │ memory.h" │ │ two │
│ │ │ │ buffers. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ memcpy │ "string.h"" │ memcpy │ Copies a │
│ │ memory.h" │ │ buffer. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ memicmp │ "string.h"" │ memicmp │ Compares │
│ │ memory.h" │ │ two │
│ │ │ │ buffers │
│ │ │ │ without │
│ │ │ │ regard to │
│ │ │ │ case. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ memmove │ "string.h"" │ memmove │ Moves a │
│ │ memory.h" │ │ buffer. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ memset │ "string.h"" │ memset │ Sets a │
│ │ memory.h" │ │ buffer to │
│ │ │ │ a given │
│ │ │ │ value. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ swab │ "stdlib.h" │ swab │ Copies │
│ │ │ │ bytes │
│ │ │ │ from a │
│ │ │ │ specified │
│ │ │ │ source │
│ │ │ │ and swaps │
│ │ │ │ each pair │
│ │ │ │ of adja- │
│ │ │ │ cent │
│ │ │ │ bytes. │
└─────────────────────────┴──────────────┴─────────────────────────┴───────────┘


[Back: Heap Creation and Management]
[Next: Environment Interaction]