Message9365
Logged In: YES
user_id=323435
Thank you Martin the 0xC0844413 does indeed work for me,
but I am working on writing a thin wrapper that will accept
un_signed long ints for ioctl. (Never done C before, but I
guess this is as good as any to learn)
But to looking forward I have done some checking and it
seams to me that all the *BSD's including BSDi use unsigned
longs for ioctl. I was not able to find documentation for
darwin on the web, bit I think it is safe to assume that it
also takes a unsigned long for ioctl. NetBSD also have
been ported to 64bit systems.
NetBSD:
http://www.tac.eu.org/cgi-bin/man-cgi?ioctl++NetBSD-current
-- BEGIN cut and paste from a BSDi systems.
$ uname -a
BSD/OS xxxx.xxxxxx.com 2.1 BSDI BSD/OS 2.1 Kernel #2: Mon
Jan 27 16:12:45 MST 1997
web@xxxx.xxxxxx.com:/usr/src/sys/compile/USR i386
$ man ioctl | head
IOCTL(2) BSD Programmer's
Manual IOCTL(2)
NAME
ioctl - control device
SYNOPSIS
#include <sys/ioctl.h>
int
ioctl(int d, unsigned long request, char *argp);
--END
|
|
Date |
User |
Action |
Args |
2007-08-23 13:59:21 | admin | link | issue521723 messages |
2007-08-23 13:59:21 | admin | create | |
|