EasyManua.ls Logo

Agilent Technologies E8267C Programming Guide

Agilent Technologies E8267C
198 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #105 background imageLoading...
Page #105 background image
Chapter 2 99
Programming Examples
LAN Programming Examples
close_winsock();
#else
close(instSock);
#endif /* WINSOCK */
return 0;
}
/***************************************************************************
getopt(3C) getopt(3C)
PROGRAM FILE NAME: getopt.c
getopt - get option letter from argument vector
SYNOPSIS
int getopt(int argc, char * const argv[], const char *optstring);
extern char *optarg;
extern int optind, opterr, optopt;
PRORGAM DESCRIPTION:
getopt returns the next option letter in argv (starting from argv[1])
that matches a letter in optstring. optstring is a string of
recognized option letters; if a letter is followed by a colon, the
option is expected to have an argument that may or may not be
separated from it by white space. optarg is set to point to the start
of the option argument on return from getopt.
getopt places in optind the argv index of the next argument to be
processed. The external variable optind is initialized to 1 before
the first call to the function getopt.
When all options have been processed (i.e., up to the first non-option

Table of Contents

Other manuals for Agilent Technologies E8267C

Questions and Answers:

Agilent Technologies E8267C Specifications

General IconGeneral
Frequency Range250 kHz to 40 GHz
Output Impedance50 Ohms
Amplitude Accuracy±0.5 dB
Modulation TypesAM, FM, PM, Pulse
Power Requirements100-240 VAC
Weight20 kg (44 lbs)

Related product manuals