=2D----BEGIN PGP SIGNED MESSAGE-----
Vincent Arkesteijn <vincent@...> writes:
> sb-unix:unix-ioctl declares it's CMD argument to be of type
> (unsigned-byte 32). However, the ioctl man page on both Linux
> and HP-UX declare the second argument of ioctl() to be of type
> int. Also, both sb-grovel and tools-for-build/grovel_headers.c
> print these as (signed) integers.
OK, it should probbaly be signed - thanks for finding this. Note
however that SB-UNIX is an internal implementation package and not
guaranteed to remain available for client code. You probably want to
either define your own glue for ioctl (possibly using sb-grovel if
it's useful), or to propose an interface that fits the SB-POSIX=20
> On a slightly unrelated note: would it be possible to let the C
> file generated by sb-grovel always include stdio.h? After all,
> it does use printf().
Yes, that sounds like a good idea.
http://www.cliki.net/ - Link farm for free CL-on-Unix resources=20
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
=2D----END PGP SIGNATURE-----