Skip to content
#

static-variables

Here are 87 public repositories matching this topic...

get_next_line (GNL): project focused on file I/O and memory management. The task is to write a single function, get_next_line, that reads from a file descriptor and returns one line at a time. This project requires careful handling of static variables, buffer management, and reading data in chunks to efficiently process files of any size.

  • Updated Feb 26, 2025
  • C

Line-by-line file reader in C using static variables and buffer management. Handles multiple file descriptors simultaneously, works with any buffer size (1 to 10M+), and manages memory efficiently. Includes comprehensive test suite and detailed algorithm documentation. Part of 42 School curriculum.

  • Updated Feb 7, 2026
  • C

Improve this page

Add a description, image, and links to the static-variables topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the static-variables topic, visit your repo's landing page and select "manage topics."

Learn more