Return to ioctl.c CVS log | Up to [local] / prex-old / usr / lib / posix / file |
version 1.1.1.1, 2008/06/03 10:38:49 | version 1.1.1.1.2.1, 2008/08/13 17:12:39 | ||
---|---|---|---|
|
|
||
* poniter type arguent for ioctl(). So, we have to | * poniter type arguent for ioctl(). So, we have to | ||
* invoke the ioctl here if the target file is a device. | * invoke the ioctl here if the target file is a device. | ||
*/ | */ | ||
err = device_ioctl(st.st_rdev, request, (u_long)argp); | err = device_ioctl(st.st_rdev, request, argp); | ||
if (err != 0) { | if (err != 0) { | ||
errno = err; | errno = err; | ||
return -1; | return -1; |