Slice Tools
  • Home
  • SourceForge Page


  • libFoundation
  • Home
  • Class Hierarchy
  • Class List
  • Class Members
  • Examples


  • SourceForge.net Logo
     

    getopt.cc File Reference


    Detailed Description

    GNU getopt.

    #include <string>
    #include <iostream>
    #include <stdio.h>
    #include "getopt.hh"

    Defines

    #define __alloca   alloca

    Enumerations

    enum  {
      REQUIRE_ORDER,
      PERMUTE,
      RETURN_IN_ORDER
    }

    Functions

    char * alloca ()
    char * getenv ()
    char * my_index (const char *str, int chr)
    void my_bcopy (const char *from, char *to, int size)
    void exchange (char **argv)
    int _getopt_internal (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only)
    int getopt (int argc, char *const *argv, const char *optstring)

    Variables

    char * optarg = 0
    int optind = 0
    char * nextchar
    int opterr = 1
    int optopt = '?'
    enum { ... }  ordering
    int first_nonopt
    int last_nonopt


    Define Documentation

    #define __alloca   alloca
     


    Enumeration Type Documentation

    anonymous enum
     

    Enumeration values:
    REQUIRE_ORDER 
    PERMUTE 
    RETURN_IN_ORDER 


    Function Documentation

    int _getopt_internal int  argc,
    char *const *  argv,
    const char *  optstring,
    const struct option longopts,
    int *  longind,
    int  long_only
     

    char* alloca  ) 
     

    void exchange char **  argv  )  [static]
     

    char* getenv  ) 
     

    int getopt int  argc,
    char *const *  argv,
    const char *  optstring
     

    void my_bcopy const char *  from,
    char *  to,
    int  size
    [static]
     

    char* my_index const char *  str,
    int  chr
    [static]
     


    Variable Documentation

    int first_nonopt [static]
     

    int last_nonopt [static]
     

    char* nextchar [static]
     

    char* optarg = 0
     

    int opterr = 1
     

    int optind = 0
     

    int optopt = '?'
     

    enum { ... } ordering [static]