A deep dive into creating a C function like `getline` for dynamic input, explaining `ssize_t`, `char**`, and memory management.