ARPDAS_QNX6 1.0
sc104init.c
Go to the documentation of this file.
00001 #include "oui.h"
00002 #include "sc104.h"
00003 #include <unistd.h>
00004 #include "nortlib.h"
00005 #include "msg.h"
00006 
00007 void sc104_init_options(int argc, char **argv) {
00008   int optltr;
00009 
00010   optind = OPTIND_RESET;
00011   opterr = 0;
00012   while ((optltr = getopt(argc, argv, opt_string)) != -1) {
00013     switch (optltr) {
00014       case 'i': process_IRQs(optarg); break;
00015       case '?':
00016         nl_error(3, "Unrecognized Option -%c", optopt);
00017       default:
00018         break;
00019     }
00020   }
00021 }
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines