Back to index

numactl  2.0.8~rc4
Functions
node-parse.c File Reference
#include <stdio.h>
#include "numa.h"
#include "util.h"

Go to the source code of this file.

Functions

void usage (void)
int main (int ac, char **av)

Function Documentation

int main ( int  ac,
char **  av 
)

Definition at line 12 of file node-parse.c.

{
       int err = 0;
       while (*++av) {
              struct bitmask *mask = numa_parse_nodestring(*av);
              if (!mask) {
                     printf("Failed to convert `%s'\n", *av);
                     err |= 1;
                     continue;
              }
              printmask("result", mask);
              numa_bitmask_free(mask);
       }
       return err;
}

Here is the call graph for this function:

void usage ( void  )

Definition at line 7 of file node-parse.c.

{
       exit(1);
}

Here is the call graph for this function: