Main Page   Interface   Data Structures   File List   Data Fields   Globals  

NSBFSIM.c File Reference

#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h>
#include <time.h>
#include "CMDCNSL/NSBFSIM.h"
#include "NSBFSIM_private.h"

Functions

int NSBFSIM_init (int argc, char **argv)
 Initialize the application resources. More...

int main (int argc, char **argv)

Variables

int NSBFSIM_tty

Detailed Description


Function Documentation

int main int    argc,
char **    argv
 

The application entry point.

Parameters:
argc  The number of command line args.
argv  An array of pointers to the command line args.

int NSBFSIM_init int    argc,
char **    argv
[static]
 

Initialize the application resources.

Performs the following actions to initialize the application:

  • Opens the tty device.
  • Sets the tty character control mode
Parameters:
argc  The number of command line args.
argv  An array of pointers to the command line args.
Return values:
0  Success.
-1  Failure.


Variable Documentation

int NSBFSIM_tty [static]
 

A handle to the tty device.


Generated on Fri Mar 8 16:13:52 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002