Main Page Modules Data Structures File List Data Fields Globals Related Pages

# utils.c File Reference

`#include <stdio.h>`
`#include <string.h>`

Go to the source code of this file.

## Defines
#define | BADCH (int)'?'
#define | BADARG (int)':'
#define | EMSG ""
## Functions
int | getopt (nargc, nargv, ostr) int nargc
## Variables
int | opterr = 1
int | optind = 1
int | optopt
int | optreset
char * | optarg
char * | __progname = "rpcapd"
char *const * | nargv
const char * | ostr

## Define Documentation

#define BADARG (int)':'

| Definition at line 47 of file utils.c.

#define BADCH (int)'?'

| Definition at line 46 of file utils.c.

#define EMSG ""

| Definition at line 48 of file utils.c.

## Function Documentation

int getopt | ( | nargc | ,
|  | nargv | ,
|  | ostr |
| ) |

## Variable Documentation

char* __progname = "rpcapd"

| Definition at line 51 of file utils.c.

char* const* nargv

| Definition at line 61 of file utils.c.

char* optarg

| Definition at line 44 of file utils.c.

int opterr = 1

| Definition at line 40 of file utils.c.

int optind = 1

| Definition at line 41 of file utils.c.

int optopt

| Definition at line 41 of file utils.c.

int optreset

| Definition at line 41 of file utils.c.

const char* ostr

| Definition at line 62 of file utils.c.

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.