libexplain  1.4.D001
Functions
libexplain/buffer/emlink/mkdir.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/emlink.h>
#include <libexplain/get_link_max.h>
#include <libexplain/option.h>

Go to the source code of this file.

Functions

void explain_buffer_emlink_mkdir (explain_string_buffer_t *sb, const char *parent, const char *pathname_caption)

Function Documentation

void explain_buffer_emlink_mkdir ( explain_string_buffer_t sb,
const char *  parent,
const char *  argument_name 
)

The explain_buffer_emlink_mkdir function may be used to print an explanation of an EMLINK error, in the case where mkdir cannot proceed because the parent directory has too many links (would exceed LINK_MAX).

Parameters:
sbThe string buffer to print on.
parentThe path of the directory that has too many links.
argument_nameThe name of the offending argument.

Definition at line 31 of file mkdir.c.