A custom shell program emulating basic bash functionalities
-
Updated
Dec 5, 2025 - C
A custom shell program emulating basic bash functionalities
create nonlinear pipelines with file descriptors
A function in C that reads and returns one line at a time from a file descriptor
📖 C function that reads one line at a time — because read() alone was too peaceful 😅 🧠 Mastering static variables, memory management, and the art of not leaking 🧼
File descriptor line reader with static variables - Handles any buffer size and multiple FDs simultaneously
pipex is a C program that simulates a shell pipeline, using pipes and process management to execute commands, handle file redirection, and facilitate inter-process communication.
A C function that reads a line from a file or file descriptor, allowing you to read a file line by line through successive calls.
A C implementation of the UNIX pipe mechanism that replicates the behavior of shell command piping. This project provides hands-on experience with process management, file descriptors, and inter-process communication in UNIX-like systems.
This function reads from a file descriptor and returns a single line at a time. It’s designed to handle any file or standard input efficiently, making it easy to process text line by line.
Pipex is a project commonly assigned in the curriculum of the 42 coding school. Its main objective is to introduce students to UNIX pipes and inter-process communication. In Pipex, you re-create in C the shell's pipeline operator (`|`), which allows the output of one command to be used as the input for another command.
A C function that reads a line from a file descriptor, efficiently handling static variables and memory management to return the next line on each call, showcasing file I/O and dynamic memory skills.
42cursus-Pipex: C program that recreates the functionality of shell pipes (|) and HereDoc (<< Del). This project focuses on inter-process communication by using fork(), pipe(), dup2(), and execve() to redirect the output of one command to the input of another, mimicking the shell command < infile cmd1 | cmd2 > outfile.
This project is about programming a function that returns a line read from a file descriptor
42sp // Programa uma função que retorna uma linha lida de um arquivo
This project is about creating a simple shell, little bash.
get_next_line is a C function that reads and returns a single line from a file descriptor, utilizing a static buffer to manage data across multiple calls
A library of useful C functions
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.
This project is about programming a function that returns a line read from a file descriptor.
Add a description, image, and links to the file-descriptor topic page so that developers can more easily learn about it.
To associate your repository with the file-descriptor topic, visit your repo's landing page and select "manage topics."