libexplain  1.4.D001
Functions
libexplain/buffer/enosys.c File Reference
#include <libexplain/ac/limits.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/ac/sys/stat.h>
#include <libexplain/buffer/device_name.h>
#include <libexplain/buffer/enosys.h>
#include <libexplain/buffer/file_type.h>
#include <libexplain/buffer/mount_point.h>
#include <libexplain/buffer/pointer.h>
#include <libexplain/is_efault.h>

Go to the source code of this file.

Functions

static void explain_buffer_enosys_generic (explain_string_buffer_t *sb, const char *caption, const char *syscall_name)
static void the_device_does_not_support_the_system_call (explain_string_buffer_t *sb, const char *file_type, const char *caption, const char *syscall_name)
static void explain_buffer_enosys_stat (explain_string_buffer_t *sb, const struct stat *st, const char *caption, const char *syscall_name)
void explain_buffer_enosys_fildes (explain_string_buffer_t *sb, int fildes, const char *caption, const char *syscall_name)
void explain_buffer_enosys_pathname (explain_string_buffer_t *sb, const char *pathname, const char *caption, const char *syscall_name)
void explain_buffer_enosys_acl (explain_string_buffer_t *sb, const char *caption, const char *syscall_name)

Function Documentation

void explain_buffer_enosys_acl ( explain_string_buffer_t sb,
const char *  caption,
const char *  syscall_name 
)

The explain_buffer_enosys_acl function may be used to print an explanation of an ENOSYS or EOPNOTSUPP error. In the cae where it one of the Access Control List (ACL) functions.

Parameters:
sbThe string buffer to print into.
captionThe name of the offending system call argument.
syscall_nameThe name of the offending system call.

Definition at line 251 of file enosys.c.

void explain_buffer_enosys_fildes ( explain_string_buffer_t sb,
int  fildes,
const char *  caption,
const char *  syscall_name 
)

The explain_buffer_enosys_fildes function may be used to print an explanation of an ENOSYS or EOPNOTSUPP error, associated with a particular file descriptor (device?).

Parameters:
sbThe string buffer to print into.
fildesThe offending file descriptor.
captionThe name of the offending system call argument.
syscall_nameThe name of the offending system call.

Definition at line 225 of file enosys.c.

static void explain_buffer_enosys_generic ( explain_string_buffer_t sb,
const char *  caption,
const char *  syscall_name 
) [static]

Definition at line 32 of file enosys.c.

void explain_buffer_enosys_pathname ( explain_string_buffer_t sb,
const char *  pathname,
const char *  caption,
const char *  syscall_name 
)

The explain_buffer_enosys_pathname function may be used to print an explanation of an ENOSYS or EOPNOTSUPP error, associated with a particular pathname (device?).

Parameters:
sbThe string buffer to print into.
pathnameThe offending file path.
captionThe name of the offending system call argument.
syscall_nameThe name of the offending system call.

Definition at line 238 of file enosys.c.

static void explain_buffer_enosys_stat ( explain_string_buffer_t sb,
const struct stat *  st,
const char *  caption,
const char *  syscall_name 
) [static]

Definition at line 78 of file enosys.c.

static void the_device_does_not_support_the_system_call ( explain_string_buffer_t sb,
const char *  file_type,
const char *  caption,
const char *  syscall_name 
) [static]

Definition at line 54 of file enosys.c.