hi everyone,
I have a question about rt_dev_ioctl(), can it be used like the normal
ioctl() in userspace? I mean, can I use it for things like that: ?
// Grab the index of given interface
memset(&ifInfo, 0x00, sizeof(ifInfo));
strncpy(ifInfo.ifr_name, iface, IFNAMSIZ);
check(ioctl(sock, SIOCGIFINDEX, &ifInfo), "ioctl()");
ifaceIndex = ifInfo.ifr_ifindex;
thanks for your help.
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
RTnet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-users