Low-level system calls and types for Swift
-
Updated
Jun 18, 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
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
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.
A Go library to ease transferring open file descriptors between cooperating processes.
create nonlinear pipelines with file descriptors
Write data to any file descriptor in any processs.
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
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.
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."