limb 0.2.0

2024-01-09

unlink_void(3)
limb manual
unlink_void(3)

NAME

unlink_void, unlinkat_void - remove a file without affecting errno

SYNOPSIS

#include <limb/posixplz.h>
void unlink_void(const char *file)
void unlinkat_void(int bfd, const char *file, int flags)

DESCRIPTION

The unlink_void() function calls unlink(3) with argument file, making sure the current value of errno will not be changed.

The unlinkat_void() function calls unlinkat(3) with arguments bfd, file and flags, making sure the current value of errno will not be changed.

limb 0.1.0
2023-07-24
unlink_void(3)