erbusy/src/erbusy.c File Reference

#include <liberipc/eripc.h>
#include <liberipc/eripcbusyd.h>
#include <string.h>
#include <unistd.h>

Go to the source code of this file.

Functions

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


Function Documentation

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

Copyright (C) 2005-2008 iRex Technologies B.V. All rights reserved.

Definition at line 29 of file erbusy.c.

00030 {
00031     erClientChannel_t channel;
00032     erIpcCmd_t  cmd;
00033 
00034     erIpcStartClient(ER_BUSYD_CHANNEL, &channel);
00035     strcpy(cmd.name, "busySetBusy");
00036     cmd.cc = ccBusySetBusy;
00037     cmd.nArg = 1;
00038     strcpy(cmd.arg[0], argv[1]);
00039     erIpcSndCommand(channel, &cmd);
00040 
00041     return 0;
00042 }

Here is the call graph for this function:


Generated on Sun Dec 14 17:15:14 2008 by  doxygen 1.5.6