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.