Using lex and yacc commands , device driver program needs to communicated to perform ioctl functions.
step 1 : simple driver programmer with ioctl functionality program needs to created.
step2 : lex and yacc with few commands to interact with driver program.
>> step 1 : simple driver programmer with ioctl functionality program needs to created.
More details please which function you want to do with ioct? If those were to access file and directory, simply standard C library should be enough.
>> step2 : lex and yacc with few commands to interact with driver program.
And what command and arguments you need for lex and yacc to interpret?