Nut/OS  5.0.5
API Reference
options.c File Reference

Parsing of command line options. NOTE: Unix emulation only! More...

#include <compiler.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
Include dependency graph for options.c:

Functions

void emulation_options_parse (int argc, char *argv[])

Variables

emulation_options_t emulation_options

Detailed Description

Parsing of command line options. NOTE: Unix emulation only!


Function Documentation

void emulation_options_parse ( int  argc,
char *  argv[] 
)

References atoi(), uart_options_t::bautrate, uart_options_t::device, uart_options_t::flowcontrol, NULL, printf, strcmp(), strdup(), strncmp(), emulation_options_t::uart_options, uart_options_t::usbnum, and emulation_options_t::verbose.

Referenced by main().

Here is the call graph for this function:


Variable Documentation