Logo Search packages:      
Sourcecode: fuse version File versions  Download package

void fuse_opt_free_args ( struct fuse_args args  ) 

Free the contents of argument list

The structure itself is not freed

args is the structure containing the argument list

Definition at line 29 of file fuse_opt.c.

References fuse_args::allocated, fuse_args::argc, fuse_args::argv, and fuse_opt_free_args().

Referenced by fuse_opt_free_args(), and fuse_opt_parse().

      if (args) {
            if (args->argv && args->allocated) {
                  int i;
                  for (i = 0; i < args->argc; i++)
            args->argc = 0;
            args->argv = NULL;
            args->allocated = 0;

Generated by  Doxygen 1.6.0   Back to index