There are 2 repositories under file-descriptor topic.
Sample usage of the new memfd_create(2) Linux system call.
A custom shell program emulating basic bash functionalities
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 library of useful C functions
Minimal Rust wrapper for using sockets as IPC with file descriptor passing | now on https://codeberg.org/valpackett/tiny-nix-ipc
A C function that reads any valid file line by line - @42sp Project
Capture stdout, stderr, and other file descriptors of running processes on-the-fly, without redirects, screen, or tmux.
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.
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.
A LOCAL SOCKET using JNI for Android to replace the use of a FIFO
A Go library to ease transferring open file descriptors between cooperating processes.
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.
Demo of using Polkit for Privilege Elevation using File Descriptor Passing over Unix Domain Sockets
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.
Function to read lines from a file descriptor one-by-one using static variables.
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.
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.
thin wrapper around raw file descriptors for Rust
42 school's second project: "This project is about programming a function that returns a line read from a file descriptor."
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.
Library for services to accept systemd passed file descriptors
Read content of file and return by line
Use any suitable file descriptor with tokio
A basic implementation of a shell, similar to a lightweight version of Bash. This project explores process management and file descriptors, offering hands-on experience with system-level programming concepts. Perfect for learning the inner workings of shell environments.
[42 Cursus] Reading a line from a fd is way too tedious
์ด ํ๋ก์ ํธ์ ๋ชฉ์ ์ ๊ฐ๋จํ ์์ ๋ง๋๋ ๊ฒ์ ๋๋ค.
A native Swift library for parsing Protocol Buffer (proto3) files into descriptors. SwiftProtoParser offers full proto3 syntax support, including services, RPC definitions, and custom options, with detailed error reporting and cross-platform compatibility. Designed as a Swift-idiomatic alternative to protoc with seamless Swift Protobuf integration.