Message9360
From the OpenBSD man page -------
#include <sys/ioctl.h>
int
ioctl(int d, unsigned long request, ...);
--
On OpenBSD ioctl takes an unsigned long for the action
to be preformed on d. The function fcntl_ioctl() in
Modules/fcntlmodule.c will only accept an int for the
second argument without rasing an error. On OpenBSD
(maybe free/net also I have not checked) an unsigned
long should be the largest allowed.
From Modules/fcntlmodule.c -------
PyArg_ParseTuple(args, "iis#:ioctl", &fd, &code, &str,
&len))
--
|
|
Date |
User |
Action |
Args |
2007-08-23 13:59:21 | admin | link | issue521723 messages |
2007-08-23 13:59:21 | admin | create | |
|