libexplain  1.4.D001
Functions | Variables
libexplain/iocontrol/siocspgrp.c File Reference
#include <libexplain/ac/sys/ioctl.h>
#include <libexplain/ac/sys/socket.h>
#include <libexplain/ac/sys/sockio.h>
#include <libexplain/buffer/int.h>
#include <libexplain/iocontrol/siocspgrp.h>

Go to the source code of this file.

Functions

static void print_data (const explain_iocontrol_t *p, explain_string_buffer_t *sb, int errnum, int fildes, int request, const void *data)

Variables

const explain_iocontrol_t explain_iocontrol_siocspgrp

Function Documentation

static void print_data ( const explain_iocontrol_t p,
explain_string_buffer_t sb,
int  errnum,
int  fildes,
int  request,
const void *  data 
) [static]

Definition at line 29 of file siocspgrp.c.


Variable Documentation

Initial value:
{
    "SIOCSPGRP", 
    SIOCSPGRP, 
    0, 
    0, 
    print_data,
    0, 
    0, 
    sizeof(int), 
    "int *", 
    IOCONTROL_FLAG_NON_META, 
    __FILE__,
    __LINE__,
}

The explain_iocontrol_siocspgrp global variable is used to store information about the SIOCSPGRP I/O control.

Note:
This information is not kept in a single table for all values, like every other set of constants, because (a) some values are ambiguous, and (b) the includes files have bugs making it impossible to include all of them in the same combilation unit.

Definition at line 40 of file siocspgrp.c.