Matteo Savatteri 51e2c5a7bb Make ld strip binaries 3 years ago
..
src a5039a2698 Correct some typos in comments 3 years ago
Makefile 51e2c5a7bb Make ld strip binaries 3 years ago
README.md 4fbf76abf4 Add `unlink` program 3 years ago

README.md

unlink

Call the unlink function to remove the specified file.

Description

The program unlink asks the kernel to unlink the file whose name is specified as the second command line argument by the mean of the sys_unlinkat system call.

Usage

$ unlink FILE

Comment

My first attempt to implement error reporting, hurrey!

How to Understand Errors

The unlink program reports system error numbers writing them to stderr. The meaning of the codes is specified in the header files /include/uapi/asm-generic/errno{,-base}.h found in the kernel source tree.