How to know which ioctl is included in the library
- From: "subramanian100in@xxxxxxxxx, India" <subramanian100in@xxxxxxxxx>
- Date: Thu, 24 Jan 2008 19:34:12 -0800 (PST)
I am using Redhat Linux kernel version 2.6.9, gcc version 3.4.3.
There are two man pages for ioctl:
1)
#include <stropts.h>
int ioctl(int fildes, int request, ... /* arg */);
2)
#include <sys/ioctl.h>
int ioctl(int d, int request, ...);
How do I know which ioctl function implementation is used in the
library.
Is the keyboard a STREAMS device ? Where can I look for knowing
this ?
In the man page of the first ioctl above, the following is mentioned
in a line:
"character special files (e.g. terminals)"
Here is the keyboard called the terminal ?
Kindly clarify.
Thanks
V.Subramanian
.
- Follow-Ups:
- Re: How to know which ioctl is included in the library
- From: Josef Moellers
- Re: How to know which ioctl is included in the library
- Prev by Date: Re: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- Next by Date: Re: RS232 Redirector Program in C using Linux
- Previous by thread: KDevelop: where does it get its "LD_LIBRARY_PATH"?
- Next by thread: Re: How to know which ioctl is included in the library
- Index(es):
Relevant Pages
|