file-descriptor
Here are 63 public repositories matching this topic...
Sample usage of the new memfd_create(2) Linux system call.
-
Updated
Sep 12, 2020 - C
A custom shell program emulating basic bash functionalities
-
Updated
Jan 31, 2025 - C
attach to a process and close a file descriptor
-
Updated
Mar 27, 2017 - C
A C function that reads any valid file line by line - @42sp Project
-
Updated
Jul 15, 2022 - C
A library of useful C functions
-
Updated
Mar 19, 2025 - C
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.
-
Updated
Jul 25, 2025 - C
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
create nonlinear pipelines with file descriptors
-
Updated
Dec 15, 2024 - C
the idea of the project is that u need to create a function that reads one line from a file descriptor each time u call it until it reaches the EOF using static vars so u can preserve their previous value and start from where u finished in the next call.
-
Updated
Aug 17, 2022 - C
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.
-
Updated
Jul 28, 2025 - C
Demo of using Polkit for Privilege Elevation using File Descriptor Passing over Unix Domain Sockets
-
Updated
Jul 18, 2017 - C
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.
-
Updated
Jul 1, 2025 - C
The aim of this project is to make you code a function that returns a line ending with a newline, read from a file descriptor.
-
Updated
May 3, 2021 - C
Function to read lines from a file descriptor one-by-one using static variables.
-
Updated
Oct 16, 2024 - C
A function that reads from a file descriptor, standard input or standard output. Depending on how it is used, the function reads a single line or one line at a time until the End Of File.
-
Updated
Aug 9, 2021 - C
Read content of file and return by line
-
Updated
May 31, 2023 - C
Report statistics on file descriptors usage
-
Updated
Nov 29, 2017 - C
Improve this page
Add a description, image, and links to the file-descriptor topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the file-descriptor topic, visit your repo's landing page and select "manage topics."