Low-level system calls and types for Swift
-
Updated
Dec 9, 2025 - Swift
Low-level system calls and types for Swift
Sample usage of the new memfd_create(2) Linux system call.
attach to a process and close a file descriptor
Minimal Rust wrapper for using sockets as IPC with file descriptor passing | now on https://codeberg.org/valpackett/tiny-nix-ipc
A custom shell program emulating basic bash functionalities
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.
create nonlinear pipelines with file descriptors
The aim of this project is to make you code a function that returns a lineending with a newline, read from a file descriptor
A custom implementation of a function to read one line at a time from a file descriptor, including support for multiple file descriptors.
42sp // Programa uma função que retorna uma linha lida de um arquivo
A function to read from multiple file descriptors at the same time, without losing the reading thread on each one of them.
personal implementation of the GNU C library getline() in C
Perform continuous reads on a file or named pipe, push the data into a readable stream.
Swap file descriptors (like bash io redirection, i.e. `exec 1>filename`)
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."