libexplain  1.4.D001
Functions
libexplain/buffer/gid.c File Reference
#include <libexplain/ac/grp.h>
#include <libexplain/ac/limits.h>
#include <libexplain/ac/sys/param.h>
#include <libexplain/ac/unistd.h>
#include <libexplain/buffer/gid.h>
#include <libexplain/buffer/int.h>
#include <libexplain/buffer/long.h>
#include <libexplain/option.h>

Go to the source code of this file.

Functions

void explain_buffer_gid (explain_string_buffer_t *sb, gid_t gid)
void explain_buffer_gid_supplementary (explain_string_buffer_t *sb)

Function Documentation

void explain_buffer_gid ( explain_string_buffer_t sb,
gid_t  gid 
)

The explain_buffer_gid function may be used to insert a group ID into the given buffer.

Parameters:
sbThe string buffer to print into
gidThe goup ID to print.

Definition at line 32 of file gid.c.

The explain_buffer_gid_supplementary function is used to print a list of the processes supplementary groups.

Parameters:
sbThe string buffer to print into.

Definition at line 54 of file gid.c.