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

Go to the source code of this file.

Functions

void explain_buffer_enospc (explain_string_buffer_t *sb, const char *pathname, const char *pathname_caption)
void explain_buffer_enospc_fildes (explain_string_buffer_t *sb, int fildes, const char *fildes_caption)

Function Documentation

void explain_buffer_enospc ( explain_string_buffer_t sb,
const char *  pathname,
const char *  pathname_caption 
)

The explain_buffer_enospc function may be used to print an explanation of an ENOSPC error.

Parameters:
sbThe string buffer to print into.
pathnameThe path of the file that could not be created.
pathname_captionThe name of the argument containing the file that could not be created.

Definition at line 25 of file enospc.c.

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

The explain_buffer_enospc_fildes function may be used to print an explanation of an ENOSPC error.

Parameters:
sbThe string buffer to print into.
fildesThe file descriptor with the problem.
fildes_captionThe name of the syscall argument containing the file descriptor with the problem.

Definition at line 58 of file enospc.c.