All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
Which CLI commands use the IOCTL function?
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
Which CLI commands use the IOCTL function? - Aug. 18, '06, 2:40:56 AM
|
|
|
thushar
Posts: 2
Joined: Aug. 18, '06,
Status: offline
|
And what exactly does an IOCTL function do?
|
|
|
RE: Which CLI commands use the IOCTL function? - Aug. 18, '06, 3:01:26 AM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Generally it's a system API that makes a request to get or set some
specific information. Often this is associated with hardware or the
settings affecting some hardware. A request is associated to an open
file handle. So an open handle to a socket is needed for socket ioctl's
while an open handle to a terminal is needed for terminal ioctl's.
Ioctl's requests do not have any official standards and vary from system
to system, although there are many de facto requests found on most systems.
Ioctl calls are a method of getting or setting information when a specific
API call doesn't exist (or didn't at one point in time).
Why do you ask?
|
|
|
RE: Which CLI commands use the IOCTL function? - Aug. 18, '06, 3:23:13 AM
|
|
|
thushar
Posts: 2
Joined: Aug. 18, '06,
Status: offline
|
I wanted to know how to test if an IOCTL function works or not....
I was wondering if we can do tht from command line....
|
|
|
RE: Which CLI commands use the IOCTL function? - Aug. 18, '06, 3:51:26 AM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
You would write a specific C program.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|