Low-level system calls and types for Swift
-
Updated
Sep 19, 2025 - Swift
Low-level system calls and types for Swift
Sample usage of the new memfd_create(2) Linux system call.
A custom shell program emulating basic bash functionalities
attach to a process and close a file descriptor
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.
Minimal Rust wrapper for using sockets as IPC with file descriptor passing | now on https://codeberg.org/valpackett/tiny-nix-ipc
A library of useful C functions
A C function that reads any valid file line by line - @42sp Project
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.
create nonlinear pipelines with file descriptors
A Go library to ease transferring open file descriptors between cooperating processes.
Write data to any file descriptor in any processs.
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.
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."