Where is "ioctl.c" in ubuntu?
Hi all
I'm using ubuntu 9.04; I want to know where is the "ioctl" source code? It's header file can be found in "/usr/include/sys/ioctl.h" And is as below: Code:
#ifndef _SYS_IOCTL_H Code:
extern int ioctl (int __fd, unsigned long int __request, ...) __THROW; THX. |
The file is found in the glibc-2.9 source code :
glibc-2.9/misc/ioctl.c ( find glibc-2.9/ -name ioctl.c ) http://archive.ubuntu.com/ubuntu/poo....9.orig.tar.gz http://packages.ubuntu.com/source/jaunty/glibc .. |
Hi;
I saw this source and found only this piece of code in it: Code:
#include <errno.h> Could you hep me again?! TIA. |
Actually not a suject, I am familar with.
Google .. ioctl in linux kernel .. http://www.google.com/search?hl=en&s...=&oq=&gs_rfai= > 562,000 hits, this one is the first http://tldp.org/LDP/lkmpg/2.6/html/x892.html Please see § Example 7-3. ioctl.c : A "100 line file", but then again, the site is dated 2007. .. |
All times are GMT -5. The time now is 08:39 AM. |