libexplain  1.4.D001
Functions
libexplain/buffer/flock.c File Reference
#include <libexplain/ac/fcntl.h>
#include <libexplain/buffer/flock.h>
#include <libexplain/buffer/int.h>
#include <libexplain/buffer/lseek_whence.h>
#include <libexplain/buffer/off_t.h>
#include <libexplain/buffer/pid_t_star.h>
#include <libexplain/parse_bits.h>
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

static void explain_buffer_flock_type (explain_string_buffer_t *sb, int value)
void explain_buffer_flock (explain_string_buffer_t *sb, const struct flock *flp)

Function Documentation

void explain_buffer_flock ( struct explain_string_buffer_t sb,
const struct flock *  flp 
)

The explain_buffer_flock function may be used to form a human readable representation of an flock structure.

Parameters:
sbThe string buffer in which to write the representation of the flock structure.
flppointer to the flock structure to be decoded

Definition at line 49 of file flock.c.

static void explain_buffer_flock_type ( explain_string_buffer_t sb,
int  value 
) [static]

Definition at line 32 of file flock.c.