libexplain  1.4.D001
Functions
libexplain/buffer/eperm/unlink.c File Reference
#include <libexplain/ac/limits.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/ac/sys/stat.h>
#include <libexplain/ac/unistd.h>
#include <libexplain/buffer/dac.h>
#include <libexplain/buffer/eperm.h>
#include <libexplain/buffer/uid.h>
#include <libexplain/dirname.h>

Go to the source code of this file.

Functions

void explain_buffer_eperm_unlink (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption, const char *syscall_name)

Function Documentation

void explain_buffer_eperm_unlink ( explain_string_buffer_t sb,
const char *  pathname,
const char *  pathname_caption,
const char *  syscall_name 
)

The explain_buffer_eperm_unlink functions is used to print an explanation of a EPERM error, in the case where the sticky bit has been set.

Parameters:
sbThe string buffer to print into.
pathnameThe path of the attempted node creation.
pathname_captionThe name of the syscall argument containinbg the path of the attempted node creation.
syscall_nameThe name of the offended system call.

Definition at line 31 of file unlink.c.