OMAPI  1.8
Open Movement Public API
clear.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "omapi.h"

Go to the source code of this file.

Functions

int clear (void)
 
int clear_main (int argc, char *argv[])
 

Detailed Description

Open Movement API Example: Clear all attached devices.

Author
Dan Jackson
Date
2011-2012

A command-line tool to clear all attached devices. This example uses OmGetDeviceIds() to get a list of attached devices. Only devices attached at start-up will be cleared, then the utility will exit.

Remarks
Makes use of API initialization and device discovery, Device settings and meta-data, Return codes

Definition in file clear.c.

Function Documentation

◆ clear()

int clear ( void  )

Definition at line 52 of file clear.c.

◆ clear_main()

int clear_main ( int  argc,
char *  argv[] 
)

Definition at line 134 of file clear.c.