libexplain  1.4.D001
Functions
libexplain/buffer/rlimit.h File Reference
#include <libexplain/ac/sys/resource.h>

Go to the source code of this file.

Functions

void explain_buffer_rlimit (struct explain_string_buffer_t *sb, const struct rlimit *value)
void explain_buffer_rlim_t (struct explain_string_buffer_t *sb, rlim_t value)

Function Documentation

void explain_buffer_rlim_t ( struct explain_string_buffer_t sb,
rlim_t  value 
)

The explain_buffer_rlim_t function may be used to insert a human readable representation of an rlim_t struct into the given buffer.

Parameters:
sbThe string buffer to write into
valuePointer to the rlim_t value to be printed

Definition at line 30 of file rlimit.c.

void explain_buffer_rlimit ( struct explain_string_buffer_t sb,
const struct rlimit *  value 
)

The explain_buffer_rlimit function may be used to insert a human readable representation of an rlimit struct into the given buffer.

Parameters:
sbThe string buffer to write into
valuePointer to the rlimit struct to be printed

Definition at line 44 of file rlimit.c.