libexplain  1.4.D001
Functions
libexplain/buffer/einval/mknod.c File Reference
#include <libexplain/ac/sys/stat.h>
#include <libexplain/buffer/einval.h>
#include <libexplain/buffer/file_type.h>
#include <libexplain/buffer/gettext.h>
#include <libexplain/buffer/more_appropriate.h>

Go to the source code of this file.

Functions

void explain_buffer_einval_mknod (explain_string_buffer_t *sb, int mode, const char *mode_caption, const char *syscall_name)

Function Documentation

void explain_buffer_einval_mknod ( explain_string_buffer_t sb,
int  mode,
const char *  mode_caption,
const char *  syscall_name 
)

The explain_buffer_einval_multiple function is use to print an explanation of an EINVAL error, when reported by mknod.

Parameters:
sbThe buffer to print into.
modeThe kind of node the syscall was trying to create.
mode_captionThe name of the offending system call argument.
syscall_nameThe name of the offending system call.

Definition at line 28 of file mknod.c.