> On Sun, Jan 28, 2001 at 10:37:16AM -0800, Luigi Rizzo wrote:
> > do we have (or could we design) a generic mechanism for machine-specific
> > syscalls which are not available on all OS ?
> >
> > basically i am thinking of something like
> >
> > generic_syscall("fdcloseall", ....);
>
> Do you mean like syscall(2)?
kind-of, though the function name should be a string and not
an integer (easier to extend/allocate), and it should allow
return values in user-supplied buffers, same as ioctl/fcntl
calls do.
cheers
luigi
----------------------------------+-----------------------------------------
Luigi RIZZO, [EMAIL PROTECTED] . ACIRI/ICSI (on leave from Univ. di Pisa)
http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704
Phone: (510) 666 2927
----------------------------------+-----------------------------------------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message