Macros | Functions | Variables
ares_getopt.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ares_getopt.h"
Include dependency graph for ares_getopt.c:

Go to the source code of this file.

Macros

#define BADARG   (int)':'
 
#define BADCH   (int)'?'
 
#define EMSG   (char *)""
 

Functions

int ares_getopt (int nargc, char *const nargv[], const char *ostr)
 

Variables

char * optarg
 
int opterr = 1
 
int optind = 1
 
int optopt = 0
 
static int optreset
 

Macro Definition Documentation

◆ BADARG

#define BADARG   (int)':'

Definition at line 58 of file ares_getopt.c.

◆ BADCH

#define BADCH   (int)'?'

Definition at line 57 of file ares_getopt.c.

◆ EMSG

#define EMSG   (char *)""

Definition at line 59 of file ares_getopt.c.

Function Documentation

◆ ares_getopt()

int ares_getopt ( int  nargc,
char *const  nargv[],
const char *  ostr 
)

Definition at line 66 of file ares_getopt.c.

Variable Documentation

◆ optarg

char* optarg

Definition at line 55 of file ares_getopt.c.

◆ opterr

int opterr = 1

Definition at line 51 of file ares_getopt.c.

◆ optind

int optind = 1

Definition at line 52 of file ares_getopt.c.

◆ optopt

int optopt = 0

Definition at line 53 of file ares_getopt.c.

◆ optreset

int optreset
static

Definition at line 54 of file ares_getopt.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:03