libexplain  1.4.D001
Functions
libexplain/buffer/enosys.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

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_socket (explain_string_buffer_t *sb, const char *syscall_name, int fildes)
void explain_buffer_enosys_vague (explain_string_buffer_t *sb, 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.

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.

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

The explain_buffer_enosys_socket function may be used to print an explanation of an ENOSYS or EOPNOTSUPP error, associated with a particular network socket.

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

Definition at line 24 of file socket.c.

void explain_buffer_enosys_vague ( explain_string_buffer_t sb,
const char *  syscall_name 
)

The explain_buffer_enosys_vague function may be used to print an explanation of an ENOSYS or EOPNOTSUPP error. This is a generic message, use a more specific one if at all possible.

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

Definition at line 24 of file vague.c.