libexplain  1.4.D001
Functions
libexplain/buffer/einval/setenv.c File Reference
#include <libexplain/buffer/einval.h>
#include <libexplain/buffer/is_the_null_pointer.h>

Go to the source code of this file.

Functions

void explain_buffer_einval_setenv (explain_string_buffer_t *sb, const char *name, const char *name_caption)

Function Documentation

void explain_buffer_einval_setenv ( explain_string_buffer_t sb,
const char *  name,
const char *  name_caption 
)

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

Parameters:
sbThe buffer to print into.
nameThe environment variable name.
name_captionThe name of the syscall argument containing the environment variable name.

Definition at line 24 of file setenv.c.