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

Go to the source code of this file.

Functions

void explain_buffer_ebusy_fildes (explain_string_buffer_t *sb, int fildes, const char *fildes_caption, const char *syscall_name)
void explain_buffer_ebusy_path (explain_string_buffer_t *sb, const char *path, const char *path_caption, const char *syscall_name)

Function Documentation

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

The explain_buffer_ebusy_fildes function may be used to print an explanation of an EBUSY error.

Parameters:
sbThe string buffer to print into.
fildesThe open file descriptor of the file (device) with the problem.
fildes_captionThe name of the offending syscall argument
syscall_nameThe name of the offending system call.

Definition at line 40 of file ebusy.c.

void explain_buffer_ebusy_path ( explain_string_buffer_t sb,
const char *  path,
const char *  path_caption,
const char *  syscall_name 
)

The explain_buffer_ebusy_path function may be used to print an explanation of an EBUSY error.

Parameters:
sbThe string buffer to print into.
pathThe path of the file (device) with the problem.
path_captionThe name of the offending syscall argument
syscall_nameThe name of the offending system call.

Definition at line 30 of file ebusy.c.