nfs-ganesha 1.4
Defines | Functions

test6.c File Reference

#include <sys/param.h>
#include <unistd.h>
#include <string.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include "tests.h"
#include "Connectathon_config_parsing.h"

Go to the source code of this file.

Defines

#define MAXFILES   512
#define BITMOD   8
#define BIT(x)   (bitmap[(x) / BITMOD] & (1 << ((x) % BITMOD)) )
#define SETBIT(x)   (bitmap[(x) / BITMOD] |= (1 << ((x) % BITMOD)) )
#define CLRBIT(x)   (bitmap[(x) / BITMOD] &= ~(1 << ((x) % BITMOD)) )

Functions

int main (int argc, char *argv[])

Define Documentation

#define BIT (   x)    (bitmap[(x) / BITMOD] & (1 << ((x) % BITMOD)) )

Definition at line 54 of file test6.c.

#define BITMOD   8

Definition at line 51 of file test6.c.

#define CLRBIT (   x)    (bitmap[(x) / BITMOD] &= ~(1 << ((x) % BITMOD)) )

Definition at line 56 of file test6.c.

#define MAXFILES   512

Definition at line 50 of file test6.c.

#define SETBIT (   x)    (bitmap[(x) / BITMOD] |= (1 << ((x) % BITMOD)) )

Definition at line 55 of file test6.c.


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 68 of file test6.c.