Hi ,

I am having one query for ioctl()
I have a source code written on linux. the code uses the system calls like
ioctl(fd,request,arg)
mq_send(),mq_open(),mq_receive, etc....

can we port the same code from linux to solaris system?
shall same ioctl() will work on solrais?

I am asking this because ioctl.h file on solaris and linux is totally
different. I just can not understand why so much difference.

If anyone know how to use ioctl function on solaris please help in
describing with one detailed example.I hope any from solrais gurus must have
one nice example for using ioctl() on solaris.

the base code is for 32 bit linux and I am working on 64 bit  solaris
kernel. Is this is the reason  that same ioctl  function is not working
here.After some study I found that the _IOWR("r",20,struct var)  is  also
declared differently on  linux  and solaris .

If anyone can answer please help me in getting out of this problem.



Regards,

AKB
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to