Re: parse_options

Benjamin Hackl wrote:
>
> Hi all!
>
>  
>
> Can anybody please tell me, in which library I can find the function 
> parse_options() which is used in examples.h and many comedi demos.
>
>  
>
> thx
>
> Benjamin
>
>  
>
If I am not wrong, you find the source of parse_options() in common.c
which is in the demo directory.
I just guess that is not part of any library since I have (cursorily!) read
the Makefile of the examples and I found that common.c is simply
linked and compiled with the other source files.

I fact, to compile the example file inp.c, you should give the
command (i use gcc)

$> gcc inp.c common.c -lcomedi -o inp

I hope to have been sort of clear...

Byez
Donatello Materassi

Received on 2007-03-23Z11:16:46