⚙️ OS Management · API Explorer

OS Systems
└── OS Management
    ├── Main Memory
    ├── The Management
    │   ├── Process Management
    │   └── IPC
    ├── Access and Control
    └── Interaction
            
Based on a hierarchical OS report — three core APIs for each functional area.
Designed for GitHub · retro/terminal vibe.
🧠

Main Memory

  • malloc() / free()
    C heap allocation – dynamic memory from the free store.
  • mmap()
    POSIX: map files or devices into memory (or anonymous).
  • VirtualAlloc()
    Windows: reserve/commit pages in virtual address space.

Process Management

  • fork()
    POSIX: duplicate calling process – create new child.
  • exec() family
    replace process image with another program.
  • CreateProcess()
    Windows: launch a new process and its thread.
🔌

IPC

  • pipe()
    POSIX: unidirectional data channel between related processes.
  • msgget()/msgsnd()/msgrcv()
    POSIX message queues – structured async communication.
  • socket()
    bidirectional communication (local or network).
🔐

Access & Control

  • open() / read() / write()
    POSIX file I/O with permission checks.
  • chmod() / chown()
    change file permissions and ownership.
  • SetSecurityInfo()
    Windows: set ACLs on objects (files, registry, etc.).
💬

Interaction

  • printf() / scanf()
    formatted console I/O (C stdio).
  • getchar() / putchar()
    simple character based interaction.
  • ioctl()
    device control & terminal settings (POSIX).