ioctl problem

Eduardo Ferro eferro at inicia.es
Fri Feb 16 02:22:57 EST 2001


> 
>   Perform the requested operation on file descriptor fd.  The operation
>   is defined by op and is operating system dependent.  Typically these
>   codes can be retrieved from the library module IOCTL.  The argument
>   arg is optional, and defaults to 0; it may be an int or a string. If
>   arg is given as a string, the return value of ioctl is a string of
>   that length, containing the resulting value put in the arg buffer by
>   the operating system. The length of the arg string is not allowed to
>   exceed 1024 bytes. If the arg given is an integer or if none is
>   specified, the result value is an integer corresponding to the return
>   value of the ioctl call in the C code.

I' ll try it, i think that data will return at the "arg" argument... at
the lib doc it don`t say anything about it... but i forget to check the
doc string :)

Thanks



More information about the Python-list mailing list